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

@ -8,7 +8,7 @@ services:
- TZ=Europe/London
restart: unless-stopped
volumes:
- /mnt/tank/app-data/calibre:/config
- "{{ app_data_dir }}/calibre:/config"
- /srv/nextcloud-data/data/jake/files/EBooks:/books:ro
labels:
- traefik.enable=true

View File

@ -8,7 +8,7 @@ services:
- PGID={{ docker_user.id }}
- TZ=Europe/London
volumes:
- /mnt/tank/app-data/jellyfin:/config
- "{{ app_data_dir }}/jellyfin:/config"
- /mnt/media/TV:/mnt/TV
- /mnt/media/Movies:/mnt/Movies
- /mnt/scratch/transcodes:/config/data/transcodes

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:

View File

@ -7,7 +7,7 @@ services:
- PGID={{ docker_user.id }}
- TZ=Europe/London
volumes:
- /mnt/tank/app-data/deluge:/config
- "{{ app_data_dir }}/deluge:/config"
- /mnt/scratch/deluge:/downloads
ports:
- 8112:8112

View File

@ -8,8 +8,8 @@ services:
- PGID={{ docker_user.id }}
- TZ=Europe/London
volumes:
- /mnt/tank/app-data/tt-rss/config.php:/config/config.php:ro
- /mnt/tank/app-data/tt-rss/feed-icons:/config/feed-icons
- "{{ app_data_dir }}/tt-rss/config.php:/config/config.php:ro"
- "{{ app_data_dir }}/tt-rss/feed-icons:/config/feed-icons"
restart: unless-stopped
labels:
- traefik.enable=true

View File

@ -8,8 +8,8 @@ services:
- SYMFONY__ENV__SECRET={{ wallabag_secret }}
- SYMFONY__ENV__DOMAIN_NAME=https://wallabag.jakehoward.tech
volumes:
- /mnt/tank/app-data/wallabag/data:/var/www/wallabag/data
- /mnt/tank/app-data/wallabag/images:/var/www/wallabag/images
- "{{ app_data_dir }}/wallabag/data:/var/www/wallabag/data"
- "{{ app_data_dir }}/wallabag/images:/var/www/wallabag/images"
labels:
- traefik.enable=true
- traefik.http.routers.wallabag.rule=Host(`wallabag.jakehoward.tech`)

View File

@ -22,7 +22,7 @@
- name: Install synapse config
template:
src: files/synapse/homeserver.yml
dest: /mnt/tank/app-data/synapse/homeserver.yaml
dest: "{{ app_data_dir }}/synapse/homeserver.yaml"
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
register: homeserver_config

View File

@ -19,7 +19,7 @@
- name: Install tt-rss config
template:
src: files/tt-rss/config.php
dest: /mnt/tank/app-data/tt-rss/config.php
dest: "{{ app_data_dir }}/tt-rss/config.php"
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
register: config_file