🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore: rename db migration disablement environment variable (#2502)
Max Deichmann26d615842c6a
diff --git a/.env.prod.example b/.env.prod.exampleindex 0a95f0f7c8..81d9b983f0 100644--- a/.env.prod.example+++ b/.env.prod.example@@ -9,6 +9,8 @@DATABASE_URL="postgresql://postgres:postgres@db:5432/postgres"# DIRECT_URL="postgresql://postgres:postgres@db:5432/postgres"# SHADOW_DATABASE_URL=+# optional, set to true to disable automated database migrations on Docker start+# LANGFUSE_AUTO_POSTGRES_MIGRATION_DISABLED=# Next Auth# NEXTAUTH_URL does not need to be set when deploying on Verceldiff --git a/web/entrypoint.sh b/web/entrypoint.shindex 8d64be98fd..999fb084b4 100644--- a/web/entrypoint.sh+++ b/web/entrypoint.sh@@ -20,7 +20,7 @@ if [ -z "$DIRECT_URL" ]; thenfi# Always execute the scripts, except when disabled.-if [ "$LANFUSE_WEB_MIGRATION_DISABLED" != "true" ]; then+if [ "$LANGFUSE_AUTO_POSTGRES_MIGRATION_DISABLED" != "true" ]; thenprisma db execute --url "$DIRECT_URL" --file "./packages/shared/scripts/cleanup.sql"# Apply migrations