aboutsummaryrefslogtreecommitdiff
path: root/templates/docker-compose.yaml.template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/docker-compose.yaml.template')
-rw-r--r--templates/docker-compose.yaml.template12
1 files changed, 5 insertions, 7 deletions
diff --git a/templates/docker-compose.yaml.template b/templates/docker-compose.yaml.template
index 124c9d5..d55c7c2 100644
--- a/templates/docker-compose.yaml.template
+++ b/templates/docker-compose.yaml.template
@@ -78,16 +78,11 @@ services:
context: ./docker/auto-backup
dockerfile: Dockerfile
pull: true
- args:
- - CRUPEST_AUTO_BACKUP_COS_SECRET_ID=${CRUPEST_AUTO_BACKUP_COS_SECRET_ID}
- - CRUPEST_AUTO_BACKUP_COS_SECRET_KEY=${CRUPEST_AUTO_BACKUP_COS_SECRET_KEY}
- - CRUPEST_AUTO_BACKUP_COS_REGION=${CRUPEST_AUTO_BACKUP_COS_REGION}
- - CRUPEST_AUTO_BACKUP_BUCKET_NAME=${CRUPEST_AUTO_BACKUP_BUCKET_NAME}
- tags:
- - "crupest/auto-backup:latest"
container_name: auto-backup
volumes:
- "./data:/data"
+ secrets:
+ - auto-backup
restart: on-failure:3
mailserver:
@@ -203,5 +198,8 @@ volumes:
roundcubemail-temp:
secrets:
+ auto-backup:
+ file: data/config
+
git-server:
file: data/config