Define app data dir in variable

This commit is contained in:
Jake Howard
2020-09-26 21:15:44 +01:00
parent 361a78e8e0
commit a303bed27f
13 changed files with 24 additions and 23 deletions

View File

@ -6,7 +6,7 @@ services:
ports:
- "{{ wireguard.clients[ansible_fqdn].ip }}:7278:8080"
volumes:
- /mnt/tank/app-data/scrutiny/:/config
- "{{ app_data_dir }}/scrutiny/:/config"
environment:
- SCRUTINY_WEB=true
- PUID={{ docker_user.id }}
@ -19,7 +19,7 @@ services:
volumes:
- /dev/disk:/dev/disk
- /run/udev:/run/udev:ro
- /mnt/tank/app-data/scrutiny/:/config
- "{{ app_data_dir }}/scrutiny/:/config"
environment:
- SCRUTINY_COLLECTOR=true
- SCRUTINY_API_ENDPOINT=http://web:8080