![]() (This can also be achieved by setting the environment variable DNSMASQ_LISTENING to all) Use the Pi-hole web UI to change the DNS settings Interface listening behavior to "Listen on all interfaces, permit all origins", if using Docker's default bridge network setting.Run docker compose up -d to build and start pi-hole (Syntax may be docker-compose on older systems).NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed restart: unless-stopped './etc-dnsmasq.d:/etc/dnsmasq.d ' # cap_add: TZ: 'America/Chicago ' # WEBPASSWORD: 'set a secure password here or it will be random' # Volumes store your data between container upgrades volumes: ![]() "67:67/udp " # Only required if you are using Pi-hole as your DHCP server Version: "3 " # More info at and services:Ĭontainer_name: pihole image: pihole/pihole:latest # For DHCP it is recommended to remove these ports and instead add: network_mode: "host" ports:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |