infrastructure/ansible/roles/db_auto_backup/files/docker-compose.yml

25 lines
604 B
YAML
Raw Normal View History

services:
backup:
image: ghcr.io/realorangeone/db-auto-backup:latest
restart: unless-stopped
volumes:
- "{{ db_backups_dir }}:/var/backups"
environment:
2022-06-04 23:03:41 +01:00
- DOCKER_HOST=tcp://docker_proxy:2375
- HEALTHCHECKS_ID={{ vault_db_auto_backup_healthchecks_id }}
2022-06-04 23:03:41 +01:00
depends_on:
- docker_proxy
docker_proxy:
2024-04-23 19:52:48 +01:00
image: lscr.io/linuxserver/socket-proxy:latest
2022-06-04 23:03:41 +01:00
restart: unless-stopped
environment:
- POST=1
- CONTAINERS=1
- IMAGES=1
- EXEC=1
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
logging:
driver: none