20 lines
427 B
YAML
20 lines
427 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
|
||
|
networks:
|
||
|
default:
|
||
|
name: host
|
||
|
external: true
|