Expected Behaviour:
After booting up the container and the network, I'd expect to be able to view the admin page using the IP address of the container, defined in the macvlan. Instead I get "the connection has timed out" messages, with no errors in the logs to give me ideas on what is missing. (Note, this worked on my previous install but can't seem to stand up on my new hardware).
- Synology DSM 7.2 v3
- [details="Docker compose file "]
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
hostname: pihole
cap_add:
- CAP_NET_RAW
- CAP_NET_BIND_SERVICE
- CAP_CHOWN
- CAP_SYS_NICE
- CAP_SYS_TIME
ports:
- "53/tcp"
- "53/udp"
- "80/tcp"
- "443/tcp"
environment:
- PIHOLE_UID=1027
- PIHOLE_GID=65536
- TZ=America/New_York
- DNSMASQ_USER=root
- FTLCONF_dns_listeningMode=local
- FTLCONF_webserver_api_password="RandomPassword"
- TAIL_FTL_LOG=1
- FTLCONF_debug_api=true
volumes:
- /volume2/docker/pihole:/etc/pihole:rw
mac_address: 8a-ca-58-b9-e9-51
# Network configurations
networks:
macvlan:
ipv4_address: 192.168.1.64
bridge:
ipv4_address: 192.168.72.2
restart: always
# Network definitions
networks:
macvlan:
driver: macvlan
driver_opts:
parent: bond0
ipam:
config:
- subnet: 192.168.1.0/24
gateway: 192.168.1.1
ip_range: 192.168.1.64/30
bridge:
driver: bridge
ipam:
config:
- subnet: 192.168.72.0/24
gateway: 192.168.72.1
ip_range: 192.168.72.2/32
[/details]
Actual Behaviour:
the Pihole container runs, seems to have zero complaints in the output logs, but going to "http://192.168.1.64/admin/" leads to a timeout error. Sure seems like the dns blocking is actually working, but if I can't get to the admin panel, I don't trust that I can point my router at this IP and use it for DNS resolution. Any ideas?