01492eb395
Fixed network section alignment
32 lines
1009 B
YAML
32 lines
1009 B
YAML
services:
|
|
sonarr:
|
|
image: lscr.io/linuxserver/sonarr:latest
|
|
container_name: sonarr
|
|
networks:
|
|
- traefik-public
|
|
labels:
|
|
- "com.centurylinklabs.watchtower.monitor-only=true"
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.sonarr.rule=Host(`sonarr.speerfam.net`)"
|
|
- "traefik.http.routers.sonarr.entrypoints=websecure"
|
|
- "traefik.http.routers.sonarr.tls.certresolver=myresolver"
|
|
|
|
# Pulling the security rules dynamically from our file provider setup
|
|
- "traefik.http.routers.sonarr.middlewares=geoblock-policy@file,crowdsec-policy@file,secure-headers@file"
|
|
- "traefik.http.services.sonarr.loadbalancer.server.port=8989"
|
|
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=America/Chicago
|
|
volumes:
|
|
- /srv/docker/sonarr:/config
|
|
- /srv/tv:/tv #path to tvseries
|
|
- /downloads/complete/tv:/downloads/tv #optional
|
|
ports:
|
|
- 8989:8989
|
|
restart: always
|
|
|
|
networks:
|
|
traefik-public:
|
|
external: true |