From 8c0067071b26e58c765987cef9e7f366a3f0204f Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Wed, 13 Jul 2022 23:25:35 -0700 Subject: [PATCH] Add pihole-specific env vars --- server/config/pihole/.env | 5 ++++- server/config/pihole/docker-compose.yml | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/server/config/pihole/.env b/server/config/pihole/.env index 13a8685..d955e8a 100644 --- a/server/config/pihole/.env +++ b/server/config/pihole/.env @@ -25,4 +25,7 @@ SMTP_USER=noreply@jafner.net SMTP_PASS= SMTP_SSL=true SMTP_TLS=false -## Configure client to use SSL, not TLS \ No newline at end of file +## Configure client to use SSL, not TLS + +## Container-specific configuration +SECRET_WEBPASSWORD=F4a3KhuKvYbKKsQZqGiHQVxUncc5GEawPrDh9PngX9DAnR4s \ No newline at end of file diff --git a/server/config/pihole/docker-compose.yml b/server/config/pihole/docker-compose.yml index af43b0a..edaccdb 100644 --- a/server/config/pihole/docker-compose.yml +++ b/server/config/pihole/docker-compose.yml @@ -14,6 +14,11 @@ services: environment: PUID: ${PUID} PGID: ${PGID} + TZ: ${TZ} + WEBPASSWORD: ${SECRET_WEBPASSWORD} + ADMIN_EMAIL: ${ADMIN_EMAIL} + PIHOLE_DNS_: 1.1.1.1;1.0.0.1 + VIRTUAL_HOST: https://pihole.jafner.net volumes: - ${DOCKER_DATA}/pihole:/etc/pihole - ${DOCKER_DATA}/dnsmasq:/etc/dnsmasq.d