Replace docker rclone volumes with native cifs volumes

This commit is contained in:
Tobias Reisinger 2026-01-25 12:22:18 +01:00
parent 85568c8278
commit 635a0c4da8
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
12 changed files with 19 additions and 106 deletions

View file

@ -29,7 +29,7 @@ immich_compose:
watchtower: monitor
image: ghcr.io/immich-app/immich-server:{{ immich_docker_tag }}
volumes:
- immich_upload:/usr/src/app/upload
- upload:/usr/src/app/upload
file:
services:
app:
@ -50,7 +50,7 @@ immich_compose:
cpus: 1.0
mem_limit: 1g
volumes:
- immich_upload:/usr/src/app/upload
- upload:/usr/src/app/upload
restart: always
networks:
default:
@ -96,7 +96,10 @@ immich_compose:
default:
volumes:
immich_upload:
external: true
upload:
driver_opts:
type: cifs
o: "username={{ opentofu.hcloud_storage_box_accounts.immich.user }},password={{ opentofu.hcloud_storage_box_accounts.immich.pass }}"
device: "//{{ opentofu.hcloud_storage_box_accounts.immich.host }}/{{ opentofu.hcloud_storage_box_accounts.immich.user }}"
pgdata:
model-cache: