2525
2626 ci :
2727 runs-on : ubuntu-latest
28- timeout-minutes : 20
28+ timeout-minutes : 30
2929 env :
3030 LANGFUSE_HOST : " http://localhost:3000"
3131 LANGFUSE_PUBLIC_KEY : " pk-lf-1234567890"
@@ -71,11 +71,11 @@ jobs:
7171 cd ./langfuse-server
7272
7373 echo "::group::Run langfuse server"
74- TELEMETRY_ENABLED=false docker compose up -d db
74+ TELEMETRY_ENABLED=false docker compose -f docker-compose.v3preview.yml up -d postgres
7575 echo "::endgroup::"
7676
7777 echo "::group::Logs from langfuse server"
78- TELEMETRY_ENABLED=false docker compose logs
78+ TELEMETRY_ENABLED=false docker compose -f docker-compose.v3preview.yml logs
7979 echo "::endgroup::"
8080
8181 echo "::group::Install dependencies (necessary to run seeder)"
@@ -89,22 +89,22 @@ jobs:
8989 echo "::endgroup::"
9090
9191 echo "::group::Run server"
92- TELEMETRY_ENABLED=false docker compose up -d langfuse-server
92+ TELEMETRY_ENABLED=false CLICKHOUSE_MIGRATION_URL=clickhouse://clickhouse:9000 LANGFUSE_ASYNC_INGESTION_PROCESSING=false LANGFUSE_ASYNC_CLICKHOUSE_INGESTION_PROCESSING=false docker compose -f docker-compose.v3preview.yml up -d
9393 echo "::endgroup::"
9494
9595 # Add this step to check the health of the container
9696 - name : Health check for langfuse server
9797 run : |
9898 echo "Checking if the langfuse server is up..."
9999 retry_count=0
100- max_retries=5
100+ max_retries=10
101101 until curl --output /dev/null --silent --head --fail http://localhost:3000/api/public/health
102102 do
103103 retry_count=`expr $retry_count + 1`
104104 echo "Attempt $retry_count of $max_retries..."
105105 if [ $retry_count -ge $max_retries ]; then
106106 echo "Langfuse server did not respond in time. Printing logs..."
107- docker logs langfuse-server_langfuse-server_1
107+ docker logs langfuse-server-langfuse-web-1
108108 echo "Failing the step..."
109109 exit 1
110110 fi
0 commit comments