add rclone binary; add example; bump restic version; use official python alpine image

Signed-off-by: Kenneth Bingham <w@qrk.us>
This commit is contained in:
Kenneth Bingham
2024-06-30 15:55:58 -04:00
parent e6ca4aa9ca
commit 4971be37e5
6 changed files with 113 additions and 9 deletions

View File

@@ -0,0 +1,24 @@
services:
backup:
build: ../../src
env_file:
- backup.env
labels:
restic-compose-backup.volumes: false
volumes:
# Map in docker socket
- /var/run/docker.sock:/var/run/docker.sock
# Map restic cache
- restic_cache:/cache
postgres:
image: postgres:12
env_file:
- postgres.env
labels:
restic-compose-backup.postgres: true
volumes:
- pgdata:/var/lib/postgresql/data
volumes:
pgdata:
restic_cache: