diff --git a/pihole/docker-compose.yml b/pihole/docker-compose.yml index fec4cf1..a3a8608 100644 --- a/pihole/docker-compose.yml +++ b/pihole/docker-compose.yml @@ -2,14 +2,14 @@ services: pihole: image: pihole/pihole:latest ports: - - "${PORT_DNS_TCP}" - - "${PORT_DNS_UDP}" - - "${PORT_HTTP}" - - "${PORT_HTTPS}" + - "${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} - - FTLCONF_webserver_api_password=${FTLCONF_webserver_api_password} - - FTLCONF_dns_listeningMode=${FTLCONF_dns_listeningMode} + - TZ=${TZ:-Europe/Berlin} + - FTLCONF_webserver_api_password=${FTLCONF_webserver_api_password:-admin} + - FTLCONF_dns_listeningMode=${FTLCONF_dns_listeningMode:-all} volumes: - - "${VOLUME_PERSIST}" - restart: unless-stopped \ No newline at end of file + - "${VOLUME_PERSIST:-./pihole:/etc/pihole}" + restart: unless-stopped