mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2024-11-14 17:39:17 +00:00
3c9fd2fe9e
Co-authored-by: Steven Briscoe <me@stevenbriscoe.com>
27 lines
734 B
YAML
27 lines
734 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
app_proxy:
|
|
environment:
|
|
APP_HOST: $APP_PI_HOLE_IP
|
|
APP_PORT: 80
|
|
PROXY_AUTH_ADD: "false"
|
|
server:
|
|
image: pihole/pihole:2022.09.4@sha256:aa6140856dfc67f3ae36c352e30903f944e4e220699ffeeaf6b85235b2d84c95
|
|
# 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
|
|
ports:
|
|
- 53:53
|
|
- 53:53/udp
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/pihole:/etc/pihole/
|
|
- ${APP_DATA_DIR}/data/dnsmasq:/etc/dnsmasq.d/
|
|
environment:
|
|
- VIRTUAL_HOST=${APP_DOMAIN}
|
|
- WEBPASSWORD=${APP_PASSWORD}
|
|
networks:
|
|
default:
|
|
ipv4_address: $APP_PI_HOLE_IP
|