Hi everyone,
So I think I have installed Pihole correctly via docker-compose, In the the router (a connect box) i have the DHCP option disabled because I would like Pihole to do the handling of the DHCP.
The connecting to the router works but then the moment i would like to access a website via Firefox i get the error
"Unable to connect".
The IP of the server where pihole is running on is 192.168.178.198 and is static.
Here is the docker-compose.yml file that I used. If anyone has any tips or tricks please let me know because i have been running in circles for days and its driving me crazy.
pihole:
container_name: pihole
image: pihole/pihole:latest
networks:
pihole_network:
ipv4_address: '192.168.178.149'
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
- "80:80/tcp"
environment:
TZ: 'Europe/Amsterdam'
WEBPASSWORD: 'XXXXXX'
volumes:
- "/home/dotdelete/pihole/etc/pihole:/etc/pihole"
- "/home/dotdelete/pihole/etc/dnsmasq.d:/etc/dnsmasq.d"
cap_add:
- NET_ADMIN
- CAP_NET_BIND_SERVICE
- CAP_SYS_NICE
- CAP_CHOWN
restart: unless-stopped
networks:
pihole_network:
driver: macvlan
driver_opts:
parent: enp3s0
ipam:
config:
- subnet: 192.168.178.0/24
gateway: 192.168.178.1