🪢 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
feat(docker): optionally set DIRECT_URL (#739)
Marc Klingen43dd396a648a
diff --git a/entrypoint.sh b/entrypoint.shindex 2d7745803d..609ff9f073 100644--- a/entrypoint.sh+++ b/entrypoint.sh@@ -13,8 +13,10 @@ if [ -z "$DATABASE_URL" ]; thenfifi-# Set DIRECT_URL to the value of DATABASE_URL, required for migrations-export DIRECT_URL=$DATABASE_URL+# Set DIRECT_URL to the value of DATABASE_URL if it is not set, required for migrations+if [ -z "$DIRECT_URL" ]; then+ export DIRECT_URL=$DATABASE_URL+fi# Apply migrationsprisma migrate deploy