feat: use extensions in full example
This commit is contained in:
@@ -6,10 +6,10 @@ services:
|
||||
condition: service_completed_successfully
|
||||
|
||||
drawio-init:
|
||||
image: opencloud-eu/web-extensions:draw-io-0.3.0
|
||||
image: opencloudeu/web-extensions:draw-io-1.0.0
|
||||
user: root
|
||||
volumes:
|
||||
- opencloud-apps:/apps
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
command: ["-c", "cp -R /var/lib/nginx/html/draw-io/ /apps"]
|
||||
command: ["-c", "cp -R /usr/share/nginx/html/draw-io/ /apps"]
|
||||
|
||||
@@ -1,15 +1,18 @@
|
||||
---
|
||||
services:
|
||||
opencloud:
|
||||
volumes:
|
||||
# external sites needs to have sites configured in the web.yaml
|
||||
- ./config/opencloud/apps.yaml:/etc/opencloud/apps.yaml
|
||||
depends_on:
|
||||
externalsites-init:
|
||||
condition: service_completed_successfully
|
||||
|
||||
externalsites-init:
|
||||
image: opencloud-eu/web-extensions:external-sites-0.3.0
|
||||
image: opencloudeu/web-extensions:external-sites-1.0.0
|
||||
user: root
|
||||
volumes:
|
||||
- opencloud-apps:/apps
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
command: ["-c", "cp -R /var/lib/nginx/html/external-sites/ /apps"]
|
||||
command: ["-c", "cp -R /usr/share/nginx/html/external-sites/ /apps"]
|
||||
|
||||
@@ -14,13 +14,13 @@ services:
|
||||
condition: service_completed_successfully
|
||||
|
||||
importer-init:
|
||||
image: opencloud-eu/web-extensions:importer-0.3.0
|
||||
image: opencloudeu/web-extensions:importer-1.0.0
|
||||
user: root
|
||||
volumes:
|
||||
- opencloud-apps:/apps
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
command: [ "-c", "cp -R /var/lib/nginx/html/importer/ /apps" ]
|
||||
command: [ "-c", "cp -R /usr/share/nginx/html/importer/ /apps" ]
|
||||
|
||||
companion:
|
||||
image: ${COMPANION_IMAGE:-transloadit/companion:5.5.0}
|
||||
|
||||
@@ -6,10 +6,10 @@ services:
|
||||
condition: service_completed_successfully
|
||||
|
||||
jsonviewer-init:
|
||||
image: opencloud-eu/web-extensions:json-viewer-0.3.0
|
||||
image: opencloudeu/web-extensions:json-viewer-1.0.0
|
||||
user: root
|
||||
volumes:
|
||||
- opencloud-apps:/apps
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
command: ["-c", "cp -R /var/lib/nginx/html/json-viewer/ /apps"]
|
||||
command: ["-c", "cp -R /usr/share/nginx/html/json-viewer/ /apps"]
|
||||
|
||||
@@ -6,10 +6,10 @@ services:
|
||||
condition: service_completed_successfully
|
||||
|
||||
progressbars-init:
|
||||
image: opencloud-eu/web-extensions:progress-bars-0.3.0
|
||||
image: opencloudeu/web-extensions:progress-bars-1.0.0
|
||||
user: root
|
||||
volumes:
|
||||
- opencloud-apps:/apps
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
command: ["-c", "cp -R /var/lib/nginx/html/progress-bars/ /apps"]
|
||||
command: ["-c", "cp -R /usr/share/nginx/html/progress-bars/ /apps"]
|
||||
|
||||
@@ -6,12 +6,12 @@ services:
|
||||
condition: service_completed_successfully
|
||||
|
||||
unzip-init:
|
||||
image: opencloud-eu/web-extensions:unzip-0.4.0
|
||||
image: opencloudeu/web-extensions:unzip-1.0.0
|
||||
user: root
|
||||
volumes:
|
||||
- opencloud-apps:/apps
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
command: ["-c", "cp -R /var/lib/nginx/html/unzip/ /apps"]
|
||||
command: ["-c", "cp -R /usr/share/nginx/html/unzip/ /apps"]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user