feat(docker-stack-immich): add resticprofile.conf example

This commit is contained in:
2025-08-31 19:30:03 +03:00
parent 15ed56e42c
commit 871106077a
2 changed files with 45 additions and 1 deletions

View File

@@ -73,8 +73,8 @@ services:
volumes: volumes:
- ${SERVICE_DATA_ROOT_PATH}/restic/resticprofile.yaml:/etc/resticprofile/profiles.yaml:ro - ${SERVICE_DATA_ROOT_PATH}/restic/resticprofile.yaml:/etc/resticprofile/profiles.yaml:ro
- ${SERVICE_DATA_ROOT_PATH}/restic/restic.key:/etc/resticprofile/key: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 - ${SERVICE_DATA_ROOT_PATH}/db_dumps:/db_dumps:ro
- ${UPLOAD_LOCATION}:/photos:ro
environment: environment:
TZ: ${TZ} TZ: ${TZ}
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID} AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}

View File

@@ -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