add config volume
This commit is contained in:
parent
1efa9e933d
commit
ad5a49c7ee
|
@ -28,6 +28,7 @@ services:
|
||||||
- limesurvey_admin_password
|
- limesurvey_admin_password
|
||||||
entrypoint: /usr/local/bin/custom-entrypoint.sh
|
entrypoint: /usr/local/bin/custom-entrypoint.sh
|
||||||
volumes:
|
volumes:
|
||||||
|
- config:/var/www/html/application/config
|
||||||
- app:/var/www/html/upload/surveys
|
- app:/var/www/html/upload/surveys
|
||||||
deploy:
|
deploy:
|
||||||
labels:
|
labels:
|
||||||
|
@ -42,7 +43,7 @@ services:
|
||||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||||
- "coop-cloud.${STACK_NAME}.version=0.1.0+5.3.18-220530-apache"
|
- "coop-cloud.${STACK_NAME}.version=0.1.0+5.3.18-220530-apache"
|
||||||
- "backupbot.backup=true"
|
- "backupbot.backup=true"
|
||||||
- "backupbot.backup.path=/var/www/html/upload/surveys"
|
- "backupbot.backup.path=/var/www/html/upload/surveys,/var/www/html/application/config"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:8080"]
|
test: ["CMD", "curl", "-f", "http://localhost:8080"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
|
@ -70,6 +71,7 @@ services:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
app:
|
app:
|
||||||
|
config:
|
||||||
postgres:
|
postgres:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in New Issue