baktainer/docker-compose.yml

22 lines
601 B
YAML
Raw Normal View History

2025-04-14 09:39:37 -04:00
services:
baktainer:
build: .
2025-05-08 22:54:50 -04:00
image: jamez001/baktainer:latest
2025-04-14 09:39:37 -04:00
container_name: baktainer
restart: unless-stopped
volumes:
- ./backups:/backups
- ./config:/config
- /var/run/docker.sock:/var/run/docker.sock
environment:
- "BT_DOCKER_URL=unix:///var/run/docker.sock"
- BT_CRON=* * * * * # Backup every day at midnight
- BT_THREADS=4 # Number of threads to use for backups
- BT_BACKUP_DIR=/backups
- BT_LOG_LEVEL=info
# Enable if using SSL over tcp
#- BT_SSL = true
#- BT_CA
#- BT_CERT
#- BT_KEY