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.
docker_systems/pihole/docker-compose.yml

22 lines
401 B
YAML

version: "2"
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
network_mode: "host"
environment:
- TZ
- WEBPASSWORD
- ServerIP
- DNS1
- DNS2
volumes:
- ./etc-pihole:/etc/pihole/
- ./etc-dnsmasq.d:/etc/dnsmasq.d/
dns:
- "${DNS3}"
- "${DNS1}"
cap_add:
- NET_ADMIN
restart: unless-stopped