add example - rclone remote backend for restic using storj (aka 'uplink' API)

This commit is contained in:
Kenneth Bingham
2024-06-30 18:07:14 -04:00
parent 1009a2449f
commit 8263f3ef7f
5 changed files with 96 additions and 2 deletions

View File

@@ -0,0 +1,23 @@
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: