16 lines
372 B
YAML
16 lines
372 B
YAML
version: '3.8'
|
|
services:
|
|
pihole:
|
|
image: pihole/pihole:latest
|
|
container_name: pihole
|
|
restart: unless-stopped
|
|
network_mode: host
|
|
environment:
|
|
TZ: ${TZ}
|
|
WEBPASSWORD: ${WEBPASSWORD}
|
|
volumes:
|
|
- ${BASE_DATA_DIR}/pihole/etc-pihole:/etc/pihole
|
|
- ${BASE_DATA_DIR}/pihole/etc-dnsmasq.d:/etc/dnsmasq.d
|
|
cap_add:
|
|
- NET_ADMIN
|