1
0
Fork 0

Use private network for home_assistant and n8n

This commit is contained in:
Florian RICHER 2023-09-24 20:07:15 +02:00
parent 9bb1ef9358
commit d51a9802b0
2 changed files with 2 additions and 0 deletions

View file

@ -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"

View file

@ -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