1
Fork 0
mirror of https://github.com/Steffo99/backup-duplicity.git synced 2024-12-22 11:34:22 +00:00
gestalt-amadeus/gdrive.docker-compose.yml

28 lines
935 B
YAML
Raw Permalink Normal View History

2023-03-14 18:32:14 +00:00
secrets:
google_client_config:
file: "./google_client_config.yml"
2023-03-14 18:32:14 +00:00
duplicity_passphrase:
file: "./duplicity_passphrase.txt"
2023-03-14 18:32:14 +00:00
volumes:
duplicity_credentials:
external: true
services:
duplicity:
2023-03-14 18:32:14 +00:00
image: "ghcr.io/steffo99/backup-duplicity:latest"
entrypoint: "/bin/sh"
command: "/etc/periodic/daily/backup.sh"
restart: unless-stopped
volumes:
2023-06-18 18:50:16 +00:00
- "./exampledata:/mnt/example"
2023-03-14 18:32:14 +00:00
- "duplicity_credentials:/var/lib/duplicity"
environment:
MODE: "backup"
DUPLICITY_PASSPHRASE_FILE: "/run/secrets/duplicity_passphrase"
DUPLICITY_TARGET_URL: "pydrive://641079776729-90s4tnli0ao913ajrpv8cp3c4kkk77j5.apps.googleusercontent.com/Duplicity/this"
GOOGLE_DRIVE_SETTINGS: "/run/secrets/google_client_config"
secrets:
- google_client_config
- duplicity_passphrase