From 7c5e7b8313866d640929c98e4971ea4387eac249 Mon Sep 17 00:00:00 2001 From: Ryan Harg Date: Thu, 24 Oct 2024 10:28:09 +0200 Subject: [PATCH] Move environment variables to .env file --- docker-compose.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index ec88097..ba46350 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,15 +7,9 @@ services: ports: - "53:53/tcp" - "53:53/udp" - #- "67:67/udp" # Only required if you are using Pi-hole as your DHCP server - "8000:80/tcp" - environment: - TZ: 'Europe/Berlin' - WEBPASSWORD: ${WEB_PASSWORD} - FTLCONF_LOCAL_IPV4: ${FTLCONF_LOCAL_IPV4} - # FTLCONF_LOCAL_IPV6: ${FTLCONF_LOCAL_IPV6} - FTLCONF_RATE_LIMIT: '0/0' - # Volumes store your data between container upgrades + env_file: + - .env volumes: - './etc-pihole:/etc/pihole' - './etc-dnsmasq.d:/etc/dnsmasq.d'