|
@@ -2,7 +2,7 @@ services:
|
|
|
{{ service_name }}:
|
|
{{ service_name }}:
|
|
|
image: docker.io/grafana/grafana-oss:12.3.1
|
|
image: docker.io/grafana/grafana-oss:12.3.1
|
|
|
restart: {{ restart_policy }}
|
|
restart: {{ restart_policy }}
|
|
|
- {% if database_type != 'sqlite' or authentik_enabled %}
|
|
|
|
|
|
|
+ {% if database_type == 'postgres' or authentik_enabled %}
|
|
|
environment:
|
|
environment:
|
|
|
{% if database_type == 'postgres' %}
|
|
{% if database_type == 'postgres' %}
|
|
|
- GF_DATABASE_TYPE=postgres
|
|
- GF_DATABASE_TYPE=postgres
|