From 2fd605353cddad6178a9ead275acd52c42222241 Mon Sep 17 00:00:00 2001 From: David Rotermund Date: Tue, 16 Jul 2024 18:03:08 +0200 Subject: [PATCH] Create compose.yaml --- backup/compose.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 backup/compose.yaml diff --git a/backup/compose.yaml b/backup/compose.yaml new file mode 100644 index 0000000..767a5ec --- /dev/null +++ b/backup/compose.yaml @@ -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