You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.8 KiB

version: "3"
services:
sonarr:
image: ghcr.io/linuxserver/sonarr:latest
restart: always
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Kolkata
- DOCKER_MODS=ghcr.io/gilbn/theme.park:sonarr
- TP_THEME=plex
volumes:
- "/home/adyanth/docker/data/sonarr/config:/config"
- "/media/NAS/TV Shows:/tv"
- "/media/NAS/Torrents/complete:/downloads/complete"
expose:
- 8989
networks:
- management-services
labels:
- traefik.enable=true
- traefik.docker.network=management-services
- traefik.http.routers.sonarr.entrypoints=websecure
- traefik.http.routers.sonarr.rule=HostRegexp(`sonarr.adyanth.{root:\w+}`)
- traefik.http.routers.sonarr.middlewares=oidc@file
- traefik.http.routers.sonarr.tls
# - traefik.http.routers.sonarr.middlewares=sonarr-cors
# - traefik.http.middlewares.sonarr-cors.headers.customresponseheaders.Access-Control-Allow-Methods=GET,OPTIONS,HEAD
# - traefik.http.middlewares.sonarr-cors.headers.customresponseheaders.Access-Control-Allow-Origin=https://home.adyanth.site
# - traefik.http.middlewares.sonarr-cors.headers.customresponseheaders.Access-Control-Allow-Credentials=true
# - traefik.http.middlewares.sonarr-cors.headers.customresponseheaders.Access-Control-Max-Age=100
# - traefik.http.middlewares.sonarr-cors.headers.addvaryheader=true
# - traefik.http.routers.sonarr.middlewares=sonarr-timeout
# - traefik.http.middlewares.sonarr-timeout.plugin.traefik-container-manager.name=sonarr
# - traefik.http.middlewares.sonarr-timeout.plugin.traefik-container-manager.timeout=1800
# - traefik-container-manager.name=sonarr
# - traefik-container-manager.host=sonarr
networks:
management-services:
external: true