mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-10-10 04:10:57 +00:00
add example - rclone remote backend for restic using storj (aka 'uplink' API)
This commit is contained in:
23
extras/example-rclone-backend/compose.yaml
Normal file
23
extras/example-rclone-backend/compose.yaml
Normal 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:
|
Reference in New Issue
Block a user