File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 6
6
# php occ --no-warnings app:enable --force richdocuments
7
7
# php occ --no-warnings config:app:set richdocuments wopi_url --value="https://collabora.localhost"
8
8
# 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
9
10
10
11
version : ' 3.8'
11
12
@@ -40,11 +41,12 @@ services:
40
41
- /bin/sh
41
42
- -c
42
43
- |
43
- cp /etc/nginx/nginx-nextcloud.conf /etc/nginx/nginx.conf
44
+ cp $${NGINX_CONF:- /etc/nginx/nginx-nextcloud.conf} /etc/nginx/nginx.conf
44
45
sed -i -e 's/app:9000/'$$STACK_NAME'_app:9000/g' /etc/nginx/nginx.conf
45
46
nginx -g 'daemon off;'
46
47
environment :
47
48
- STACK_NAME={{ index .Service.Labels "com.docker.stack.namespace" }}
49
+ - NGINX_CONF=${NGINX_CONF}
48
50
volumes :
49
51
- ${VOLUME_PATH}nextcloud:/var/www/html:cached
50
52
deploy :
You can’t perform that action at this time.
0 commit comments