app-store/apps/sonarr/docker-compose.yml
2022-11-11 20:33:58 +01:00

28 lines
786 B
YAML

version: "3.7"
services:
sonarr:
image: lscr.io/linuxserver/sonarr:3.0.9
container_name: sonarr
environment:
- PUID=1000
- PGID=1000
- TZ=${TZ}
dns:
- ${DNS_IP}
volumes:
- /etc/localtime:/etc/localtime:ro
- ${APP_DATA_DIR}/data:/config
- ${ROOT_FOLDER_HOST}/media:/media
ports:
- ${APP_PORT}:8989
restart: unless-stopped
networks:
- tipi_main_network
labels:
traefik.enable: ${APP_EXPOSED}
traefik.http.routers.sonarr.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.sonarr.entrypoints: websecure
traefik.http.routers.sonarr.service: sonarr
traefik.http.routers.sonarr.tls.certresolver: myresolver
traefik.http.services.sonarr.loadbalancer.server.port: 8989