Facebook
From Gruff Ibis, 3 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 47
  1. version​: ​"​3​"​
  2.  
  3. ​#​ More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/​
  4. ​services​:
  5.   ​pihole​:
  6.     ​container_name​: ​pihole​
  7.     ​image​: ​pihole/pihole:latest​
  8.     ​ports​:
  9.       - ​"​53:53/tcp​"​
  10.       - ​"​53:53/udp​"​
  11.       - ​"​67:67/udp​"​
  12.       - ​"​80:80/tcp​"​
  13.       - ​"​443:443/tcp​"​
  14.     ​environment​:
  15.       ​TZ​: ​'​America/Chicago​'​
  16.       ​#​ WEBPASSWORD: 'set a secure password here or it will be random'​
  17.     ​#​ Volumes store your data between container upgrades​
  18.     ​volumes​:
  19.       - ​'​./etc-pihole/:/etc/pihole/​'​
  20.       - ​'​./etc-dnsmasq.d/:/etc/dnsmasq.d/​'​
  21.     ​#​ Recommended but not required (DHCP needs NET_ADMIN)​
  22.     ​#​   https://github.com/pi-hole/docker-pi-hole#note-on-capabilities​
  23.     ​cap_add​:
  24.       - ​NET_ADMIN​
  25.     ​restart​: ​unless-stopped