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
Andreas Zweili 32e559a833 remove unnecessary variables
I've learned this from the Jitsi config that you don't have to add a
variable if the key name is the same in the compose file
as it is in the .env file
2020-04-14 21:16:39 +02:00

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