mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-28 16:19:40 +03:00
21 lines
688 B
YAML
21 lines
688 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
server:
|
|
image: pihole/pihole:2025.11.1@sha256:91dc91ddd413bf461c283204558f8f21839851e9824799075a7ceff7c77eea40
|
|
# 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:
|
|
- FTLCONF_webserver_api_password=${APP_PASSWORD}
|
|
- FTLCONF_webserver_port=8082,[::]:8082
|
|
# Listen on all interfaces, permit all origins
|
|
- FTLCONF_dns_listeningMode=all
|
|
cap_add:
|
|
- NET_ADMIN
|