servarr: add nfs + traefik
This commit is contained in:
parent
84bc20613e
commit
245945f9f8
@ -2,38 +2,62 @@ services:
|
||||
|
||||
sonarr:
|
||||
image: lscr.io/linuxserver/sonarr:latest
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- traefik.docker.network=traefik_traefik
|
||||
- traefik.http.routers.sonarr-private.rule=Host(`sonarr.local`)
|
||||
- traefik.http.routers.sonarr-private.entrypoints=web
|
||||
- traefik.http.routers.sonarr-private.service=sonarr-private
|
||||
- traefik.http.services.sonarr-private.loadbalancer.server.port=8989
|
||||
container_name: sonarr
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Etc/UTC
|
||||
volumes:
|
||||
- ./services/sonarr/config:/config
|
||||
- sonarr_config:/config
|
||||
- servarr_data:/data
|
||||
ports:
|
||||
- 8401:8989
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- servarr
|
||||
- traefik_traefik
|
||||
|
||||
prowlarr:
|
||||
image: lscr.io/linuxserver/prowlarr:latest
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- traefik.docker.network=traefik_traefik
|
||||
- traefik.http.routers.prowlarr-private.rule=Host(`prowlarr.local`)
|
||||
- traefik.http.routers.prowlarr-private.entrypoints=web
|
||||
- traefik.http.routers.prowlarr-private.service=prowlarr-private
|
||||
- traefik.http.services.prowlarr-private.loadbalancer.server.port=9696
|
||||
container_name: prowlarr
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Etc/UTC
|
||||
volumes:
|
||||
- ./services/prowlarr/config:/config
|
||||
- prowlarr_config:/config
|
||||
ports:
|
||||
- 8402:9696
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- servarr
|
||||
- traefik_traefik
|
||||
|
||||
|
||||
qbittorrent:
|
||||
image: lscr.io/linuxserver/qbittorrent:latest
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- traefik.docker.network=traefik_traefik
|
||||
- traefik.http.routers.qbittorrent-private.rule=Host(`torrent.local`)
|
||||
- traefik.http.routers.qbittorrent-private.entrypoints=web
|
||||
- traefik.http.routers.qbittorrent-private.service=qbittorrent-private
|
||||
- traefik.http.services.qbittorrent-private.loadbalancer.server.port=8405
|
||||
|
||||
container_name: qbittorrent
|
||||
environment:
|
||||
- PUID=1000
|
||||
@ -42,7 +66,7 @@ services:
|
||||
- WEBUI_PORT=8405
|
||||
- TORRENTING_PORT=8406
|
||||
volumes:
|
||||
- ./services/qbittorrent/config:/config
|
||||
- qbittorrent_config:/config
|
||||
- servarr_downloads:/data/downloads #optional
|
||||
ports:
|
||||
- 8405:8405
|
||||
@ -52,21 +76,26 @@ services:
|
||||
|
||||
networks:
|
||||
- servarr
|
||||
- traefik_traefik
|
||||
|
||||
|
||||
volumes:
|
||||
prowlarr_config: {}
|
||||
qbittorrent_config: {}
|
||||
sonarr_config: {}
|
||||
servarr_data:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
o: bind
|
||||
device: /opt/servarr/
|
||||
type: "nfs"
|
||||
o: "addr=192.168.2.57,nolock,soft,rw"
|
||||
device: ":/schneider/servarr/data"
|
||||
servarr_downloads:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
o: bind
|
||||
device: /opt/servarr/downloads
|
||||
type: "nfs"
|
||||
o: "addr=192.168.2.57,nolock,soft,rw"
|
||||
device: ":/schneider/servarr/data/downloads"
|
||||
|
||||
networks:
|
||||
servarr: {}
|
||||
traefik_traefik:
|
||||
external: true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user