Skip to content

Instantly share code, notes, and snippets.

@seriald
Created January 4, 2023 21:26
Show Gist options
  • Save seriald/7a3ab2cef28603865e8d861700ee630b to your computer and use it in GitHub Desktop.
Save seriald/7a3ab2cef28603865e8d861700ee630b to your computer and use it in GitHub Desktop.
Pihole / Docker-compose
version: '2'
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
hostname: xxxxx
network_mode: "host"
environment:
- TZ:America/Toronto
- ServerIP:xxxxx
volumes:
- /pathto/docker/pihole/config:/etc/pihole/
- /pathto/docker/pihole/dnsmasq.d:/etc/dnsmasq.d/
dns:
- xxxxx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment