add config volume

This commit is contained in:
Philipp Rothmann 2022-06-21 12:24:55 +02:00
parent 1efa9e933d
commit ad5a49c7ee
1 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,7 @@ services:
- limesurvey_admin_password
entrypoint: /usr/local/bin/custom-entrypoint.sh
volumes:
- config:/var/www/html/application/config
- app:/var/www/html/upload/surveys
deploy:
labels:
@ -42,7 +43,7 @@ services:
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
- "coop-cloud.${STACK_NAME}.version=0.1.0+5.3.18-220530-apache"
- "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:
test: ["CMD", "curl", "-f", "http://localhost:8080"]
interval: 30s
@ -70,6 +71,7 @@ services:
volumes:
app:
config:
postgres:
networks: