Skip to content

Commit 6cee391

Browse files
committed
feat: update nextcloud
1 parent 9e48ba7 commit 6cee391

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

stacks/nextcloud.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# php occ --no-warnings app:enable --force richdocuments
77
# php occ --no-warnings config:app:set richdocuments wopi_url --value="https://collabora.localhost"
88
# php occ --no-warnings config:app:set richdocuments wopi_allowlist --value=10.0.0.0/8
9+
# php occ --no-warnings config:system:set maintenance_window_start --type=integer --value=1
910

1011
version: '3.8'
1112

@@ -40,11 +41,12 @@ services:
4041
- /bin/sh
4142
- -c
4243
- |
43-
cp /etc/nginx/nginx-nextcloud.conf /etc/nginx/nginx.conf
44+
cp $${NGINX_CONF} /etc/nginx/nginx.conf
4445
sed -i -e 's/app:9000/'$$STACK_NAME'_app:9000/g' /etc/nginx/nginx.conf
4546
nginx -g 'daemon off;'
4647
environment:
4748
- STACK_NAME={{ index .Service.Labels "com.docker.stack.namespace" }}
49+
- NGINX_CONF=${NGINX_CONF:-/etc/nginx/nginx-nextcloud.conf}
4850
volumes:
4951
- ${VOLUME_PATH}nextcloud:/var/www/html:cached
5052
deploy:

0 commit comments

Comments
 (0)