Procházet zdrojové kódy

fix environment issue

xcad před 3 měsíci
rodič
revize
336ea9686e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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