Move environment variables to .env file

This commit is contained in:
Ryan Harg 2024-10-24 10:28:09 +02:00
parent 2a0ca5568c
commit 7c5e7b8313

View file

@ -7,15 +7,9 @@ services:
ports: ports:
- "53:53/tcp" - "53:53/tcp"
- "53:53/udp" - "53:53/udp"
#- "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
- "8000:80/tcp" - "8000:80/tcp"
environment: env_file:
TZ: 'Europe/Berlin' - .env
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
volumes: volumes:
- './etc-pihole:/etc/pihole' - './etc-pihole:/etc/pihole'
- './etc-dnsmasq.d:/etc/dnsmasq.d' - './etc-dnsmasq.d:/etc/dnsmasq.d'