From 871106077a5ef3bc242ef56eb71ce7bade91df63 Mon Sep 17 00:00:00 2001 From: Oleksandr Berezovskyi Date: Sun, 31 Aug 2025 19:30:03 +0300 Subject: [PATCH] feat(docker-stack-immich): add resticprofile.conf example --- docker/stacks/immich/docker-compose.yaml | 2 +- .../stacks/immich/resticprofile.conf.example | 44 +++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 docker/stacks/immich/resticprofile.conf.example diff --git a/docker/stacks/immich/docker-compose.yaml b/docker/stacks/immich/docker-compose.yaml index cf62e2d..e58731b 100644 --- a/docker/stacks/immich/docker-compose.yaml +++ b/docker/stacks/immich/docker-compose.yaml @@ -73,8 +73,8 @@ services: volumes: - ${SERVICE_DATA_ROOT_PATH}/restic/resticprofile.yaml:/etc/resticprofile/profiles.yaml:ro - ${SERVICE_DATA_ROOT_PATH}/restic/restic.key:/etc/resticprofile/key:ro - - ${UPLOAD_LOCATION}:${UPLOAD_LOCATION}:ro - ${SERVICE_DATA_ROOT_PATH}/db_dumps:/db_dumps:ro + - ${UPLOAD_LOCATION}:/photos:ro environment: TZ: ${TZ} AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID} diff --git a/docker/stacks/immich/resticprofile.conf.example b/docker/stacks/immich/resticprofile.conf.example new file mode 100644 index 0000000..2b9a0d3 --- /dev/null +++ b/docker/stacks/immich/resticprofile.conf.example @@ -0,0 +1,44 @@ +global: + scheduler: crond + +default: + password-file: key + repository: s3:s3.eu-central-003.backblazeb2.com/BUCKET-NAME + initialize: true + force-inactive-lock: true + backup: + source: /photos + exclude-caches: true + one-file-system: true + schedule: "*:00,15,30,45" + schedule-permission: system + check-before: false + group-by: "paths" + forget: + schedule: "daily" + keep-hourly: 24 + keep-daily: 7 + keep-weekly: 4 + heep-monthly: 12 + prune: true + +database: + password-file: key + repository: s3:s3.eu-central-003.backblazeb2.com/BUCKET-NAME + initialize: true + force-inactive-lock: true + backup: + source: /db_dumps + exclude-caches: true + one-file-system: true + schedule: "hourly" + schedule-permission: system + check-before: false + group-by: "paths" + forget: + schedule: "daily" + keep-hourly: 24 + keep-daily: 7 + keep-weekly: 4 + heep-monthly: 12 + prune: true