diff --git a/roles/home_assistant/templates/docker-compose.yml.j2 b/roles/home_assistant/templates/docker-compose.yml.j2 index 9a3ac01..58f18c1 100644 --- a/roles/home_assistant/templates/docker-compose.yml.j2 +++ b/roles/home_assistant/templates/docker-compose.yml.j2 @@ -20,4 +20,5 @@ services: - "traefik.http.routers.homeassistant-secure.tls=true" - "traefik.http.routers.homeassistant-secure.tls.certresolver=sslResolver" # - "traefik.http.routers.homeassistant-secure.service=homeassistant" + - "traefik.http.routers.homeassistant-secure.middlewares=private-network@file" - "traefik.http.services.homeassistant.loadbalancer.server.port=8123" diff --git a/roles/n8n/templates/docker-compose.yml.j2 b/roles/n8n/templates/docker-compose.yml.j2 index b2e2d32..356651e 100644 --- a/roles/n8n/templates/docker-compose.yml.j2 +++ b/roles/n8n/templates/docker-compose.yml.j2 @@ -31,6 +31,7 @@ services: - "traefik.http.routers.n8n-secure.tls.certresolver=sslResolver" # - "traefik.http.routers.whoami-secure.service=whoami" # - "traefik.http.services.whoami.loadbalancer.server.port=9002" + - "traefik.http.routers.n8n-secure.middlewares=private-network@file" - "traefik.docker.network=proxy" environment: - DB_TYPE=postgresdb