You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
672 B
21 lines
672 B
version: "3.7"
|
|
|
|
services:
|
|
server:
|
|
image: pihole/pihole:2023.10.0@sha256:562766abc805d5005bb2d2aa5d4bbf2d9b347380b1ea4504fb59b2100500f672
|
|
# Pi-hole doesn't currently support running as non-root
|
|
# https://github.com/pi-hole/docker-pi-hole/issues/685
|
|
# user: "1000:1000"
|
|
restart: on-failure
|
|
network_mode: host
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/pihole:/etc/pihole/
|
|
- ${APP_DATA_DIR}/data/dnsmasq:/etc/dnsmasq.d/
|
|
environment:
|
|
- VIRTUAL_HOST=${APP_DOMAIN}
|
|
- WEBPASSWORD=${APP_PASSWORD}
|
|
- WEB_PORT=8082
|
|
# Listen on all interfaces, permit all origins
|
|
- DNSMASQ_LISTENING=all
|
|
cap_add:
|
|
- NET_ADMIN
|
|
|