summaryrefslogtreecommitdiff
path: root/f3s/pihole/docker-pi/docker-compose.example.yml
blob: 6672b7cba5687ae34f8187a65a09e0ab4a960127 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Reference for pi2 / pi3 (~paul/pihole). Merge the `dnsmasq.d` volume with your live compose.
# WEBPASSWORD lives in host-local `.env` (not in git). See f3s/docs/pi-phase-2-2.md.
services:
  pihole:
    image: pihole/pihole:latest
    network_mode: host
    env_file:
      - .env
    environment:
      TZ: Europe/Sofia
      DNS1: 1.1.1.1
      DNS2: 1.0.0.1
    volumes:
      # Production Pis use ./etc-dnsmasq.d (see pi-phase-2-2); same content as docker-pi/dnsmasq.d/ here.
      - ./etc-dnsmasq.d:/etc/dnsmasq.d:ro