Properly isolated networks

master
Meliurwen 4 years ago
parent 397fb73048
commit 4c7f9a0a80
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 5
      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

Loading…
Cancel
Save