feat: update Duplicati configuration to use environment variables for sensitive data and adjust data directory path
Some checks failed
Nix Format Check / check-format (push) Failing after 38s
Some checks failed
Nix Format Check / check-format (push) Failing after 38s
This commit is contained in:
parent
fc0b3605b1
commit
42c2b93cdf
@ -6,8 +6,7 @@ services:
|
||||
environment:
|
||||
- PUID=0
|
||||
- PGID=0
|
||||
- TZ=Europe/Amsterdam
|
||||
- CLI_ARGS=
|
||||
- DUPLICATI__WEBSERVICE_PASSWORD={{ lookup('onepassword', 'ifpbi3n3zduwhoihrc3lflmoey', vault='j7nmhqlsjmp2r6umly5t75hzb4') }}
|
||||
- SETTINGS_ENCRYPTION_KEY={{ lookup('onepassword', 'ifpbi3n3zduwhoihrc3lflmoey', field='encryption_key', vault='j7nmhqlsjmp2r6umly5t75hzb4') }}
|
||||
volumes:
|
||||
- {{ duplicati_data_dir }}:/config
|
||||
|
@ -2,7 +2,8 @@
|
||||
block:
|
||||
- name: Set Duplicati directory path
|
||||
ansible.builtin.set_fact:
|
||||
duplicati_data_dir: "/mnt/storage-box/services/duplicati"
|
||||
# Can't be on storage-box since SMB mounts don't work well with sqlite databases
|
||||
duplicati_data_dir: "{{ ansible_env.HOME }}/services/duplicati/data"
|
||||
|
||||
- name: Set Duplicati service directory
|
||||
ansible.builtin.set_fact:
|
||||
|
Loading…
x
Reference in New Issue
Block a user