Open
Description
Is it possible to run this on docker swarm? I tried deploying but it doesn't seem to generate any actual files. Below is my config.
backup:
image: ghcr.io/realorangeone/db-auto-backup:latest
container_name: backup
environment:
- INCLUDE_LOGS=true
- COMPRESSION=gzip
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- backup_data:/var/backups
deploy:
restart_policy:
condition: on-failure
mode: replicated
replicas: 1
placement:
constraints: [node.role == manager]
networks:
cloud-public:
external: true
volumes:
backup_data:
driver: local
driver_opts:
o: bind
type: none
device: /volume1/docker/db/backups