22 lines
462 B
YAML
22 lines
462 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}
|
|
env_file:
|
|
- ./env/pihole
|
|
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
|