This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |