From 83a2d22103c5681e5a04bed9ed8dd8e7e0b0b264 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Wed, 15 Feb 2023 11:43:05 -0800 Subject: [PATCH] Add unifi to web network --- homelab/server/config/unifi_controller/docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/homelab/server/config/unifi_controller/docker-compose.yml b/homelab/server/config/unifi_controller/docker-compose.yml index 2b2c0767..166c8e28 100644 --- a/homelab/server/config/unifi_controller/docker-compose.yml +++ b/homelab/server/config/unifi_controller/docker-compose.yml @@ -12,6 +12,8 @@ services: loki-timeout: "2s" keep-file: "true" restart: "no" + networks: + - web env_file: - unifi_controller.env volumes: @@ -31,3 +33,7 @@ services: - traefik.http.routers.unifi.tls.certresolver=lets-encrypt - traefik.http.routers.unifi.middlewares=lan-only@file - traefik.http.services.unifi.loadbalancer.server.port=8443 + +networks: + web: + external: true \ No newline at end of file