ansible-role-plausible/templates/env.plausible.conf.j2
Laur Ivan ec75520bd4 Add documentation.
Better configuration.
Expose DB port.
2022-09-23 12:50:15 +02:00

18 lines
684 B
Django/Jinja

ADMIN_USER_EMAIL={{ plausible_admin_user_email }}
ADMIN_USER_NAME={{ plausible_admin_user_name }}
ADMIN_USER_PWD={{ plausible_admin_user_pwd }}
BASE_URL={{ plausible_base_url }}
SECRET_KEY_BASE={{ plausible_secret_key_base }}
{% if plausible_volume_geoip and plausible_geoip_db and plausible_geoip_stat.stat.exists %}
GEOLITE2_COUNTRY_DB={{ plausible_volume_geoip }}/{{ plausible_geoip_db }}
{% endif %}
# DB and events
DATABASE_URL=postgres://postgres:{{ plausible_db_password }}@{{ plausible_db_host }}:5432/{{ plausible_db }}
CLICKHOUSE_DATABASE_URL=http://plausible_events_db:8123/plausible_events_db
#SMTP
SMTP_HOST_ADDR=plausible_mail
MAILER_EMAIL={{ plausible_smtp_email }}