add sonarr to media stack
This commit is contained in:
parent
1a81be138d
commit
0d2952c006
2 changed files with 36 additions and 0 deletions
|
@ -31,6 +31,11 @@ volumes:
|
||||||
type: "nfs"
|
type: "nfs"
|
||||||
o: "addr=lewis.dmz,nolock,soft,rw"
|
o: "addr=lewis.dmz,nolock,soft,rw"
|
||||||
device: ":/mnt/data/nfs/radarr/config"
|
device: ":/mnt/data/nfs/radarr/config"
|
||||||
|
sonarr_config:
|
||||||
|
driver_opts:
|
||||||
|
type: "nfs"
|
||||||
|
o: "addr=lewis.dmz,nolock,soft,rw"
|
||||||
|
device: ":/mnt/data/nfs/sonarr/config"
|
||||||
prowlarr_config:
|
prowlarr_config:
|
||||||
driver_opts:
|
driver_opts:
|
||||||
type: "nfs"
|
type: "nfs"
|
||||||
|
@ -185,3 +190,33 @@ services:
|
||||||
- traefik.http.routers.prowlarr.service=prowlarr
|
- traefik.http.routers.prowlarr.service=prowlarr
|
||||||
- traefik.http.services.prowlarr.loadbalancer.server.port=9696
|
- traefik.http.services.prowlarr.loadbalancer.server.port=9696
|
||||||
- traefik.docker.network=traefik
|
- traefik.docker.network=traefik
|
||||||
|
|
||||||
|
sonarr:
|
||||||
|
image: lscr.io/linuxserver/sonarr:latest
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=Europe/Amsterdam
|
||||||
|
volumes:
|
||||||
|
- type: volume
|
||||||
|
source: sonarr_config
|
||||||
|
target: /config
|
||||||
|
volume:
|
||||||
|
nocopy: true
|
||||||
|
- type: volume
|
||||||
|
source: media
|
||||||
|
target: /media
|
||||||
|
volume:
|
||||||
|
nocopy: true
|
||||||
|
networks:
|
||||||
|
- traefik
|
||||||
|
deploy:
|
||||||
|
labels:
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.routers.sonarr.entrypoints=localsecure
|
||||||
|
- traefik.http.routers.sonarr.rule=Host(`sonarr.kun.is`)
|
||||||
|
- traefik.http.routers.sonarr.tls=true
|
||||||
|
- traefik.http.routers.sonarr.tls.certresolver=letsencrypt
|
||||||
|
- traefik.http.routers.sonarr.service=sonarr
|
||||||
|
- traefik.http.services.sonarr.loadbalancer.server.port=8989
|
||||||
|
- traefik.docker.network=traefik
|
||||||
|
|
|
@ -26,6 +26,7 @@ let
|
||||||
"/jellyseerr/config"
|
"/jellyseerr/config"
|
||||||
"/radarr/config"
|
"/radarr/config"
|
||||||
"/prowlarr/config"
|
"/prowlarr/config"
|
||||||
|
"/sonarr/config"
|
||||||
];
|
];
|
||||||
|
|
||||||
nfsExports = lib.strings.concatLines (
|
nfsExports = lib.strings.concatLines (
|
||||||
|
|
Loading…
Reference in a new issue