Skip to content

Instantly share code, notes, and snippets.

View Mister-Odd's full-sized avatar

Mister Odd Mister-Odd

View GitHub Profile
@brav0charlie
brav0charlie / AdGuardHome-DNSOnly-docker-compose.yml
Last active March 9, 2024 13:52
AdGuard Home (No DHCP) in Docker using Docker-Compose
# NOTE: While AdGuard Home may be configured as a DHCP server, this is out
# out of scope for this docker-compose.yml file. Configuring the DHCP
# server requires using 'network_mode: host'.
#
# If you want to use the DHCP server feature, delete the 'network:'
# section (lines 20 & 21), as well as the entire 'ports:' section
# (lines 30 - 47). Then, just below the 'restart:' section (line 19)
# insert a line that reads 'network_mode: host'. The container will
# still reserve all the ports listed below, as well as 67 and 68 for
# DHCP, but there's no need to map them in the docker-compose.yml file