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

@ -11,8 +11,8 @@ services:
- UID=0
- GID=0
volumes:
- /mnt/tank/app-data/synapse/homeserver.yaml:/etc/homeserver.yaml
- /mnt/tank/app-data/synapse:/data
- "{{ app_data_dir }}/synapse/homeserver.yaml:/etc/homeserver.yaml"
- "{{ app_data_dir }}/synapse:/data"
depends_on:
- db
expose: