pi-hole:setup_pi-hole_running_in_docker
This is an old revision of the document!
Pi-Hole - Setup Pi-Hole running in Docker
Docker compose:
version: '3.4' services: pihole: hostname: ubuntu network_mode: bridge container_name: pihole image: pihole/pihole ports: - 443:446 - 80:8008 - 10.1.1.60:53:53 - 10.1.1.60:53:53/udp - 10.1.1.60:67:67/udp dns: - 127.0.0.1 - 1.1.1.1 - 8.8.8.8 environment: - DNS1=1.1.1.1 - DNS2=8.8.8.8 - ServerIP=10.1.1.60 - TZ=America/New_York - WEBPASSWORD= logging: driver: json-file options: max-file: 10 max-size: 200k volumes: - /etc/localtime:/etc/localtime:ro - /home/ubuntu/.config/appdata/pihole/dnsmasq.d:/etc/dnsmasq.d - /home/ubuntu/.config/appdata/pihole/pihole:/etc/pihole - /home/ubuntu/.config/appdata/shared:/shared - /mnt:/storage cap_add: - NET_ADMIN restart: unless-stopped
pi-hole/setup_pi-hole_running_in_docker.1607995305.txt.gz · Last modified: 2020/12/15 01:21 by peter