Use sqlite3 as default database

This commit is contained in:
phil 2023-11-20 12:23:12 +01:00
parent e0d2378808
commit bec76bc57d
4 changed files with 12 additions and 7 deletions

View file

@ -7,11 +7,13 @@ enforce_domain = true
root_url = https://{{ grafana_domain }}
[database]
type = mysql
host = {{ database_host }}:3306
type = {{ grafana_db_type }}
{% if grafana_db_type != sqlite3 %}
host = {{ database_host }}:{{ grafana_db_port }}
name = {{ grafana_db }}
user = {{ grafana_db_user }}
password = {{ grafana_db_password }}
{% endif %}
[session]
cookie_secure = true