2022-04-20 20:32:07 +00:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
2022-05-16 13:30:51 +00:00
|
|
|
app_proxy:
|
|
|
|
environment:
|
|
|
|
APP_HOST: $APP_PI_HOLE_IP
|
|
|
|
APP_PORT: 80
|
2022-06-07 07:04:33 +00:00
|
|
|
PROXY_AUTH_ADD: "false"
|
2022-04-20 20:32:07 +00:00
|
|
|
server:
|
2022-11-21 02:27:34 +00:00
|
|
|
image: pihole/pihole:2022.11.1@sha256:7ea4b00fcb3e4942b88015ddbb1fe9bbda95b692d8e56f1a13481356a1eb2707
|
2022-04-20 20:32:07 +00:00
|
|
|
# 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
|