2022-01-16 16:55:40 +00:00
|
|
|
version: "2.3"
|
|
|
|
|
|
|
|
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
|
2023-12-14 22:03:23 +00:00
|
|
|
- HEALTHCHECKS_ID={{ vault_db_auto_backup_healthchecks_id }}
|
2022-06-04 23:03:41 +01:00
|
|
|
depends_on:
|
|
|
|
- docker_proxy
|
|
|
|
|
|
|
|
docker_proxy:
|
|
|
|
image: tecnativa/docker-socket-proxy:latest
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
- POST=1
|
|
|
|
- CONTAINERS=1
|
|
|
|
- IMAGES=1
|
|
|
|
- EXEC=1
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
2022-06-20 21:25:13 +01:00
|
|
|
logging:
|
|
|
|
driver: none
|