Add container to automatically backup DBs

This commit is contained in:
Jake Howard
2022-01-16 16:55:40 +00:00
parent 6c0314b758
commit 5cc552d0eb
14 changed files with 97 additions and 70 deletions

View File

@ -0,0 +1,11 @@
version: "2.3"
services:
backup:
image: ghcr.io/realorangeone/db-auto-backup:latest
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- "{{ db_backups_dir }}:/var/backups"
environment:
- HEALTHCHECKS_ID={{ db_auto_backup_healthchecks_id }}