.env.pihole.j2 601 B

1234567891011121314151617181920212223242526272829
  1. # Pi-hole Configuration
  2. # Contains sensitive application secrets and configuration
  3. # Timezone
  4. TZ={{ container_timezone }}
  5. # User and Group IDs
  6. PIHOLE_UID={{ user_uid }}
  7. PIHOLE_GID={{ user_gid }}
  8. # Web Interface Admin Password
  9. FTLCONF_webserver_api_password={{ pihole_webpassword }}
  10. # Upstream DNS Servers
  11. FTLCONF_dns_upstreams={{ pihole_dns_upstreams }}
  12. # DNS Listening Mode
  13. {% if dns_enabled -%}
  14. FTLCONF_dns_listeningMode=all
  15. {% else -%}
  16. FTLCONF_dns_listeningMode=local
  17. {% endif %}
  18. # DHCP Server
  19. {% if dhcp_enabled -%}
  20. FTLCONF_dhcp_active=true
  21. {% else -%}
  22. FTLCONF_dhcp_active=false
  23. {% endif %}