tweaked how nfs is shared

This commit is contained in:
Steve Dudenhoeffer 2024-03-22 01:22:13 +00:00
parent dc4b2b2417
commit 619e46ee2c
3 changed files with 59 additions and 13 deletions

View File

@ -11,10 +11,9 @@ services:
volumes:
- radarr_data:/config
- /mnt/Media/Movies:/movies
- "/mnt/Media/Stand-Up Specials:/standup"
- /mnt/Downloads:/downloads
- nfs-media-movies:/movies
- nfs-media-standup:/standup
- nfs-downloads:/downloads
labels:
- "traefik.enable=true"
@ -32,3 +31,23 @@ volumes:
radarr_data:
external: true
nfs-downloads:
driver: local
driver_opts:
type: nfs
o: addr=192.168.0.145,nolock,soft,rw
device: ":/volume1/downloads"
nfs-media-movies:
driver: local
driver_opts:
type: nfs
o: addr=192.168.0.145,nolock,soft,rw
device: ":/volume1/Media/Movies"
nfs-media-standup:
driver: local
driver_opts:
type: nfs
o: addr=192.168.0.145,nolock,soft,rw
device: ":/volume1/Media/Stand-Up Specials"

View File

@ -11,8 +11,8 @@ services:
volumes:
- sabnzbd_data:/config
- /mnt/downloads:/downloads
- /mnt/downloads/incomplete:/incomplete
- nfs-downloads:/downloads
- nfs-downloads-incomplete:/incomplete
labels:
@ -31,3 +31,17 @@ volumes:
sabnzbd_data:
external: true
nfs-downloads:
driver: local
driver_opts:
type: nfs
o: addr=192.168.0.145,nolock,soft,rw
device: ":/volume1/downloads"
nfs-downloads-incomplete:
driver: local
driver_opts:
type: nfs
o: addr=192.168.0.145,nolock,soft,rw
device: ":/volume1/downloads/incomplete"

View File

@ -11,15 +11,13 @@ services:
volumes:
- sonarr_data:/config
- /mnt/Media/TV:/tv
- /mnt/Downloads:/downloads
- nfs-downloads:/downloads
- nfs-media-tv:/tv
labels:
- "traefik.enable=true"
- "traefik.http.services.sonarr.loadbalancer.server.port=8989"
- 'traefik.http.routers.sonarr.middlewares=authelia@docker'
- "traefik.http.services.bitwarden.loadbalancer.server.port=8989"
- 'traefik.http.routers.bitwarden.middlewares=authelia@docker'
networks:
- web
@ -32,3 +30,18 @@ volumes:
sonarr_data:
external: true
nfs-downloads:
driver: local
driver_opts:
type: nfs
o: addr=192.168.0.145,nolock,soft,rw
device: ":/volume1/downloads"
nfs-media-tv:
driver: local
driver_opts:
type: nfs
o: addr=192.168.0.145,nolock,soft,rw
device: ":/volume1/Media/TV"