mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2024-11-14 09:29:16 +00:00
21 lines
671 B
YAML
21 lines
671 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
server:
|
|
image: pihole/pihole:2024.07.0@sha256:0def896a596e8d45780b6359dbf82fc8c75ef05b97e095452e67a0a4ccc95377
|
|
# 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 |