Add hetzner storage box to terraform and immich

This commit is contained in:
Tobias Reisinger 2025-12-11 16:31:16 +01:00
parent 400b342ec4
commit 0a6ac9b168
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
13 changed files with 210 additions and 77 deletions

View file

@ -4,7 +4,7 @@ immich_worker_db_db: immich
immich_worker_db_user: "{{ vault_immich.db.user }}"
immich_worker_db_pass: "{{ vault_immich.db.pass }}"
immich_worker_docker_tag: v2.2.3
immich_worker_docker_tag: v2.3.1
immich_worker_env:
# IMMICH_CONFIG_FILE: /immich.json
@ -46,6 +46,16 @@ immich_worker_compose:
default:
volumes:
upload: "{{ vault_immich.upload_volume_driver }}"
upload:
driver: rclone
driver_opts:
type: sftp
sftp_host: "{{ opentofu.hcloud_storage_box_accounts.immich.host }}"
sftp_port: 23
sftp_user: "{{ opentofu.hcloud_storage_box_accounts.immich.user }}"
sftp_pass: "{{ opentofu.hcloud_storage_box_accounts.immich.pass_obscure }}"
allow_other: 'true'
vfs_cache_mode: minimal
poll_interval: 0
pgdata:
model-cache: