-
Notifications
You must be signed in to change notification settings - Fork 35
/
compose.langfuse.yml
41 lines (38 loc) · 1.07 KB
/
compose.langfuse.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
services:
langfuse:
image: langfuse/langfuse
env_file:
- ./.env
- ./langfuse/override.env
container_name: ${HARBOR_CONTAINER_PREFIX}.langfuse
ports:
- ${HARBOR_LANGFUSE_HOST_PORT}:3000
depends_on:
langfuse-db:
condition: service_healthy
environment:
- DATABASE_URL=postgresql://postgres:postgres@langfuse-db:5432/postgres
- NEXTAUTH_URL=http://localhost:${HARBOR_LANGFUSE_HOST_PORT}
- NEXTAUTH_SECRET=${HARBOR_LANGFUSE_NEXTAUTH_SECRET}
- SALT=${HARBOR_LANGFUSE_SALT}
networks:
- harbor-network
langfuse-db:
image: postgres
restart: always
container_name: ${HARBOR_CONTAINER_PREFIX}.langfuse-db
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 1s
timeout: 5s
retries: 10
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
ports:
- ${HARBOR_LANGFUSE_DB_HOST_PORT}:5432
volumes:
- ./langfuse/db:/var/lib/postgresql/data
networks:
- harbor-network