diff --git a/create_pod_finance.sh b/create_pod_finance.sh index 55bd35c..23874bc 100755 --- a/create_pod_finance.sh +++ b/create_pod_finance.sh @@ -47,9 +47,10 @@ GRAFANA_PROVISIONING_DIR="$FINANCE_DIR/grafana/provisioning" GRAFANA_DASHBOARDS_DIR="$FINANCE_DIR/grafana/dashboards" # --- Secrets bootstrap ------------------------------------------------------- -# Secrets live under BIND_DIR (not the code checkout in FINANCE_DIR), so a -# backup of BIND_DIR plus this script alone are sufficient for disaster -# recovery. BIND_DIR must exist and be private before .env is written into it. +# Secrets live under BIND_DIR (not the code checkout in FINANCE_DIR). For +# disaster recovery you need BOTH: a backup of BIND_DIR (data + secrets) AND +# the repo checkout ~/bin (this script, finance/ for the image build, Grafana +# provisioning). BIND_DIR must exist and be private before .env is written. mkdir -p "$BIND_DIR" && chmod 700 "$BIND_DIR" ENV_FILE="$BIND_DIR/.env" @@ -231,6 +232,7 @@ echo "Container '$API_CTR_NAME' started (rc=$?)" podman run -d --name "$GRAFANA_CTR_NAME" --pod "$POD_NAME" \ -e GF_SECURITY_ADMIN_PASSWORD="$FB_PASSWORD" \ -e GF_SECURITY_ALLOW_EMBEDDING=true \ + -e GF_SECURITY_COOKIE_SAMESITE=lax \ -e FINANCE_READ_PASSWORD \ -v "$GRAFANA_PROVISIONING_DIR:/etc/grafana/provisioning:Z,ro" \ -v "$GRAFANA_DASHBOARDS_DIR:/var/lib/grafana/dashboards:Z,ro" \ diff --git a/finance/app/templates/index.html b/finance/app/templates/index.html index a541711..8faa74a 100644 --- a/finance/app/templates/index.html +++ b/finance/app/templates/index.html @@ -59,6 +59,6 @@

Grafana-Dashboard

Kein Diagramm sichtbar? Einmal in - Grafana anmelden + Grafana anmelden (gleiches Passwort wie hier).

{% endblock %}