Skip to content

Commit bba6689

Browse files
committed
Use Langfuse v2 (Postgres-only) to avoid ClickHouse/Redis deps
1 parent 572a5bf commit bba6689

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/ml-drift.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
run_drift letta
9999
stop_and_remove letta
100100
101-
# Langfuse (Postgres on a Docker network so langfuse can resolve postgres by name)
101+
# Langfuse v2 (Postgres-only; v3/v4 require ClickHouse and Redis)
102102
docker network create ml-drift-net >/dev/null 2>&1 || true
103103
docker run -d --rm --name postgres --network ml-drift-net \
104104
-e POSTGRES_PASSWORD=postgres -e POSTGRES_USER=postgres \
@@ -109,14 +109,15 @@ jobs:
109109
done
110110
docker run -d --rm --name langfuse --network ml-drift-net -p 3000:3000 \
111111
-e DATABASE_URL=postgresql://postgres:postgres@postgres:5432/langfuse \
112+
-e DIRECT_URL=postgresql://postgres:postgres@postgres:5432/langfuse \
112113
-e NEXTAUTH_URL=http://localhost:3000 \
113114
-e NEXTAUTH_SECRET=secret \
114115
-e SALT=salt \
115116
-e ENCRYPTION_KEY=0000000000000000000000000000000000000000000000000000000000000000 \
116117
-e TELEMETRY_ENABLED=false \
117-
-e LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES=false \
118-
langfuse/langfuse:latest
119-
for i in $(seq 1 120); do
118+
-e DO_NOT_TRACK=true \
119+
langfuse/langfuse:2
120+
for i in $(seq 1 180); do
120121
curl -fs http://localhost:3000/api/public/health > /dev/null && break
121122
sleep 1
122123
done

0 commit comments

Comments
 (0)