diff --git a/sonarr.app b/sonarr.app index 1244f77..405794d 100644 --- a/sonarr.app +++ b/sonarr.app @@ -32,6 +32,12 @@ services: ports: - "${expose}${port_number}:8989" restart: unless-stopped + labels: + - 'traefik.enable=true' + - 'traefik.http.routers.${app_name}.rule=Host("${app_name}.${traefik_domain}")' + - 'traefik.http.routers.${app_name}.entrypoints=websecure' + - 'traefik.http.routers.${app_name}.tls.certresolver=mytlschallenge' + - 'traefik.http.services.${app_name}.loadbalancer.server.port=${port_number}' networks: - plexguide