From 4c7f9a0a8002febdc9324826bfc04cfadd7f519e Mon Sep 17 00:00:00 2001 From: meliurwen Date: Sun, 30 Aug 2020 14:39:50 +0200 Subject: [PATCH] Properly isolated networks --- docker-compose.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 8bdd821..4ba8148 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,6 +17,7 @@ services: - ${PHOLE_DNS1} restart: unless-stopped networks: + - default - piholenetwork environment: TZ: ${TZ} @@ -59,6 +60,7 @@ services: ports: - "${OGEN_PORT}:${OGEN_PORT}/${OGEN_PROTOCOL}" networks: + - default - piholenetwork cap_add: - NET_ADMIN @@ -71,5 +73,6 @@ services: DNS1: ${OGEN_DNS1} # Add an IPv4 Address or a container name networks: + default: piholenetwork: - driver: bridge + internal: true