Replace docker rclone volumes with native cifs volumes
This commit is contained in:
parent
85568c8278
commit
635a0c4da8
12 changed files with 19 additions and 106 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue