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
|
|
@ -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 }}"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue