I need help with the correct config for my Pi-hole Docker/Portainer Stack...
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
restart: unless-stopped
ports:
- 53:53/tcp
- 53:53/udp
- 80:80/tcp
volumes:
- ./etc-pihole:/opt/pihole/etc/pihole
- ./etc-dnsmasq.d:/opt/pihole/etc/dnsmasq.d
volumes:
./etc-pihole:
./etc-dnsmasq.d:
I think my error is that I should be mapping the absolute path for the two volumes. Please can someone educate me on where the "./" would reference to inside the docker container?
Reference to where I got the Pi-hole docker compose from for stack config. https://hub.docker.com/r/pihole/pihole