Improve docker cifs volume configs

This commit is contained in:
Tobias Reisinger 2026-01-25 14:05:46 +01:00
parent 635a0c4da8
commit bd4bd550bf
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
5 changed files with 11 additions and 6 deletions

View file

@ -22,5 +22,5 @@ calibre_web_compose:
data:
driver_opts:
type: cifs
o: "username={{ opentofu.hcloud_storage_box_accounts.calibre_web.user }},password={{ opentofu.hcloud_storage_box_accounts.calibre_web.pass }}"
o: "seal,username={{ opentofu.hcloud_storage_box_accounts.calibre_web.user }},password={{ opentofu.hcloud_storage_box_accounts.calibre_web.pass }}"
device: "//{{ opentofu.hcloud_storage_box_accounts.calibre_web.host }}/{{ opentofu.hcloud_storage_box_accounts.calibre_web.user }}"

View file

@ -99,7 +99,7 @@ immich_compose:
upload:
driver_opts:
type: cifs
o: "username={{ opentofu.hcloud_storage_box_accounts.immich.user }},password={{ opentofu.hcloud_storage_box_accounts.immich.pass }}"
o: "seal,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:

View file

@ -23,4 +23,8 @@ jellyfin_compose:
volumes:
config:
cache:
media: "{{ vault_jellyfin.media_volume_driver }}"
media:
driver_opts:
type: cifs
o: "seal,username={{ opentofu.hcloud_storage_box_accounts.jellyfin.user }},password={{ opentofu.hcloud_storage_box_accounts.jellyfin.pass }}"
device: "//{{ opentofu.hcloud_storage_box_accounts.jellyfin.host }}/{{ opentofu.hcloud_storage_box_accounts.jellyfin.user }}"