Kaynağa Gözat

fix environment issue

xcad 3 ay önce
ebeveyn
işleme
336ea9686e
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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