🪢 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: check early whether clickhouse url is configured (#4595)
Steffen Schmitz12ee00f273b4
diff --git a/web/entrypoint.sh b/web/entrypoint.shindex abb3788643..16f8ce1030 100644--- a/web/entrypoint.sh+++ b/web/entrypoint.sh@@ -14,6 +14,12 @@ if [ -z "$DATABASE_URL" ]; thenfifi+# Check if CLICKHOUSE_URL is not set+if [ -z "$CLICKHOUSE_URL" ]; then+ echo "Error: CLICKHOUSE_URL is not configured. Migrating from V2? Check out migration guide at https://langfuse.com/docs/deployment/v3/migrate-v2-to-v3."+ exit 1+fi+# Set DIRECT_URL to the value of DATABASE_URL if it is not set, required for migrationsif [ -z "$DIRECT_URL" ]; thenexport DIRECT_URL=$DATABASE_URL@@ -52,4 +58,4 @@ if [ $status -ne 0 ]; thenfi# Run the command passed to the docker image on start-exec "$@"\ No newline at end of file+exec "$@"