From 3c7a55d9893d6f88f3299bdf21decd3eca43f5dd Mon Sep 17 00:00:00 2001 From: Colin Hebert Date: Sat, 18 Feb 2023 12:40:28 +1100 Subject: [PATCH] Update bazarr mounting --- .../subtitle-collector/docker-compose.yml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/services/subtitle-collector/docker-compose.yml b/services/subtitle-collector/docker-compose.yml index 05bfab0..f4adc26 100644 --- a/services/subtitle-collector/docker-compose.yml +++ b/services/subtitle-collector/docker-compose.yml @@ -12,8 +12,9 @@ services: - movie-collector - tv-collector volumes: - - bazarr_config:/config/ - - data:/data/media/ # TODO: Just mount TV/Movies? + - ${NASCOMPOSE_SERVICES?}/subtitle-collector/volumes/bazarr_config/:/config/ + - ${NASCOMPOSE_DATA?}/media/movies/:/data/media/movies/ + - ${NASCOMPOSE_DATA?}/media/tv/:/data/media/tv/ restart: unless-stopped labels: traefik.enable: true @@ -26,17 +27,3 @@ networks: external: true tv-collector: external: true - -volumes: - data: - driver_opts: - type: none - o: bind - device: ${NASCOMPOSE_DATA?} - - bazarr_config: - driver_opts: - type: none - o: bind - device: ${NASCOMPOSE_SERVICES?}/subtitle-collector/volumes/bazarr_config/ - \ No newline at end of file