Skip to content

Instantly share code, notes, and snippets.

@stockulus
Created April 7, 2021 20:43
Show Gist options
  • Save stockulus/2bcd3df53b904b00e5c852211e13d151 to your computer and use it in GitHub Desktop.
Save stockulus/2bcd3df53b904b00e5c852211e13d151 to your computer and use it in GitHub Desktop.
version: "3"
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
restart: unless-stopped
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp"
- "80:80/tcp"
- "443:443/tcp"
environment:
TZ: 'Europe/Berlin'
WEBPASSWORD: 'InitPassword'
volumes:
- /home/pirate/pi-hole/pihole/:/etc/pihole/
- /home/pirate/pi-hole/dnsmasq/:/etc/dnsmasq.d/
dns:
- 127.0.0.1
- 1.1.1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment