restic-compose-backup/docker-compose.yaml

12 lines
246 B
YAML
Raw Normal View History

2019-04-15 15:04:16 +00:00
version: '3'
services:
backup:
build: .
env_file:
- restic_volume_backup.env
volumes:
2019-04-15 16:30:49 +00:00
# Map in docker socket
2019-04-15 15:04:16 +00:00
- /var/run/docker.sock:/tmp/docker.sock:ro
2019-04-15 16:30:49 +00:00
# Map in project source
- .:/restic-volume-backup