16 lines
496 B
YAML
16 lines
496 B
YAML
services:
|
|
pihole:
|
|
image: pihole/pihole:latest
|
|
ports:
|
|
- "${PORT_DNS_TCP:-53:53/tcp}"
|
|
- "${PORT_DNS_UDP:-53:53/udp}"
|
|
- "${PORT_HTTP:-80:80/tcp}"
|
|
- "${PORT_HTTPS:-443:443/tcp}"
|
|
environment:
|
|
- TZ=${TZ:-Europe/Berlin}
|
|
- FTLCONF_webserver_api_password=${FTLCONF_webserver_api_password:-admin}
|
|
- FTLCONF_dns_listeningMode=${FTLCONF_dns_listeningMode:-all}
|
|
volumes:
|
|
- "${VOLUME_PERSIST:-./pihole:/etc/pihole}"
|
|
restart: unless-stopped
|