Mount volumes directly

This commit is contained in:
Colin Hebert
2023-02-20 19:24:07 +11:00
parent db63d597b4
commit 000fd298f6
16 changed files with 33 additions and 231 deletions

View File

@@ -13,8 +13,8 @@ services:
- torrents
- usenet
volumes:
- sonarr_config:/config/
- data:/data/
- ${NASCOMPOSE_SERVICES?}/tv-collector/volumes/sonarr_config/:/config/
- ${NASCOMPOSE_DATA?}/:/data/
restart: unless-stopped
labels:
traefik.enable: true
@@ -32,16 +32,3 @@ networks:
external: true
media-player:
external: true
volumes:
data:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_DATA?}
sonarr_config:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/tv-collector/volumes/sonarr_config/