Compare commits

..

2 Commits

View File

@ -4,6 +4,7 @@ version: "3.8"
services:
app:
image: nginx:1.29.0
command: ["sh", "-c", "mkdir -p /usr/share/nginx/html/.backup-data && echo backup-placeholder > /usr/share/nginx/html/.backup-data/placeholder.txt && exec nginx -g 'daemon off;'"]
networks:
- proxy
deploy:
@ -21,7 +22,7 @@ services:
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
- "coop-cloud.${STACK_NAME}.version=1.11.0+1.29.0"
- "backupbot.backup=true"
- "backupbot.backup.path=/usr/share/nginx/html"
- "backupbot.backup.path=/usr/share/nginx/html/.backup-data"
environment:
- DEFAULT_CONF_FILE=/etc/nginx/conf.d/default.conf
- REDIRECT_FROM_PATH