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

@@ -18,8 +18,8 @@ services:
- reverse-proxy
- usenet
volumes:
- sabnzbd_config:/config/
- usenet:/data/
- ${NASCOMPOSE_SERVICES?}/usenet/volumes/sabnzbd_config/:/config/
- ${NASCOMPOSE_DATA?}/usenet/:/data/
restart: unless-stopped
labels:
traefik.enable: true
@@ -31,16 +31,3 @@ networks:
reverse-proxy:
external: true
volumes:
usenet:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_DATA?}/usenet/
sabnzbd_config:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/usenet/volumes/sabnzbd_config/