summaryrefslogtreecommitdiff
path: root/f3s/pihole/docker-pi/docker-compose.example.yml
diff options
context:
space:
mode:
Diffstat (limited to 'f3s/pihole/docker-pi/docker-compose.example.yml')
-rw-r--r--f3s/pihole/docker-pi/docker-compose.example.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/f3s/pihole/docker-pi/docker-compose.example.yml b/f3s/pihole/docker-pi/docker-compose.example.yml
new file mode 100644
index 0000000..6672b7c
--- /dev/null
+++ b/f3s/pihole/docker-pi/docker-compose.example.yml
@@ -0,0 +1,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