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

42 lines
1.3 KiB
YAML
Raw Normal View History

2024-10-25 04:35:59 +00:00
secrets:
2024-10-25 04:41:47 +00:00
ga_passphrase:
2024-10-25 04:35:59 +00:00
external: true
2024-10-25 04:41:47 +00:00
ga_gdrive_client_secret:
2024-10-25 04:35:59 +00:00
external: true
volumes:
2024-10-25 04:41:47 +00:00
ga_credentials:
2024-10-25 04:35:59 +00:00
external: true
2024-10-25 04:41:47 +00:00
ga_cache:
2024-10-25 04:35:59 +00:00
external: true
services:
ga:
build:
context: "."
network_mode: host
stdin_open: true
tty: true
restart: unless-stopped
volumes:
2024-10-25 04:39:09 +00:00
- type: bind
source: "./exampledata"
target: "/mnt"
- type: volume
source: ga_credentials
target: "/var/lib/duplicity"
- type: volume
source: ga_cache
target: "/usr/lib/duplicity/.cache/duplicity"
2024-10-25 04:35:59 +00:00
environment:
MODE: "backup"
DUPLICITY_TARGET_URL: "gdrive://641079776729-da3fi7a2kgk5jkutsjdcnhugqolu40mo.apps.googleusercontent.com/this?myDriveFolderID=1_8rQ4E8ssoN-guFrGs7CC2IFofXBaimi"
GOOGLE_CLIENT_SECRET_JSON_FILE: "/run/secrets/google_client_secret"
DUPLICITY_PASSPHRASE_FILE: "/run/secrets/duplicity_passphrase"
GOOGLE_CREDENTIALS_FILE: "/var/lib/duplicity/google_credentials"
GOOGLE_OAUTH_LOCAL_SERVER_HOST: "localhost"
GOOGLE_OAUTH_LOCAL_SERVER_PORT: "80"
secrets:
2024-10-25 04:41:47 +00:00
- ga_passphrase
- ga_gdrive_client_secret