This repository has been archived on 2022-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
2020-04-14 18:28:24 +02:00
|
|
|
version: "2"
|
|
|
|
services:
|
|
|
|
pihole:
|
|
|
|
container_name: pihole
|
|
|
|
image: pihole/pihole:latest
|
|
|
|
network_mode: "host"
|
|
|
|
environment:
|
2020-04-14 21:16:39 +02:00
|
|
|
- TZ
|
|
|
|
- WEBPASSWORD
|
|
|
|
- ServerIP
|
|
|
|
- DNS1
|
|
|
|
- DNS2
|
2020-04-14 18:28:24 +02:00
|
|
|
volumes:
|
2022-05-17 20:22:17 +02:00
|
|
|
- ./etc-pihole:/etc/pihole/
|
|
|
|
- ./etc-dnsmasq.d:/etc/dnsmasq.d/
|
2020-04-14 18:28:24 +02:00
|
|
|
dns:
|
|
|
|
- "${DNS3}"
|
|
|
|
- "${DNS1}"
|
|
|
|
cap_add:
|
|
|
|
- NET_ADMIN
|
|
|
|
restart: unless-stopped
|