28 lines
		
	
	
		
			787 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			787 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
version: "3.7"
 | 
						|
services:
 | 
						|
  sonarr:
 | 
						|
    image: lscr.io/linuxserver/sonarr:3.0.10
 | 
						|
    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
 |