xcad 1 месяц назад
Родитель
Сommit
336ea9686e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      library/compose/grafana/compose.yaml.j2

+ 1 - 1
library/compose/grafana/compose.yaml.j2

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