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

@ -15,9 +15,12 @@ calibre_web_compose:
image: lscr.io/linuxserver/calibre-web:latest
volumes:
- config:/config
- calibre_web_data:/data
- data:/data
file:
volumes:
config:
calibre_web_data:
external: true
data:
driver_opts:
type: cifs
o: "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

@ -8,10 +8,5 @@
env: "{{ calibre_web_env }}"
compose: "{{ calibre_web_compose }}"
block:
- name: Import tasks to create docker rclone volume
ansible.builtin.import_tasks: tasks/create-docker-rclone-volume.yml
vars:
task_volume: calibre_web_data
task_rclone: "{{ opentofu.hcloud_storage_box_accounts.calibre_web }}"
- name: Import tasks to deploy common service
ansible.builtin.import_tasks: tasks/deploy-common-service.yml