Create compose.yaml
This commit is contained in:
parent
62f93cf01c
commit
2fd605353c
1 changed files with 23 additions and 0 deletions
23
backup/compose.yaml
Normal file
23
backup/compose.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
services:
|
||||
backup:
|
||||
image: "backup_image"
|
||||
container_name: backup
|
||||
hostname: backup
|
||||
restart: always
|
||||
|
||||
network_mode: bridge
|
||||
|
||||
volumes:
|
||||
- /root/backup/backup:/data/backup:ro
|
||||
- /root/backup/backup.pub:/data/backup.pub:ro
|
||||
- mysql_mariadb_vol:/data/backup_docker/mysql_mariadb_vol
|
||||
- vaultwarden_vaultwarden_vol:/data/backup_docker/vaultwarden_vaultwarden_vol
|
||||
|
||||
volumes:
|
||||
mysql_mariadb_vol:
|
||||
external: true
|
||||
name: mysql_mariadb_vol
|
||||
|
||||
vaultwarden_vaultwarden_vol:
|
||||
external: true
|
||||
name: vaultwarden_vaultwarden_vol
|
Loading…
Reference in a new issue