-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (31 loc) · 801 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (31 loc) · 801 Bytes
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
services:
langgraph-redis:
image: redis:6
pull_policy: missing
healthcheck:
test: "redis-cli ping"
interval: 5s
timeout: 1s
retries: 5
langgraph-api:
ports:
- "2024:8000"
depends_on:
langgraph-redis:
condition: service_healthy
environment:
REDIS_URI: "redis://langgraph-redis:6379"
POSTGRES_URI: "postgres://postgres:password@host.docker.internal:5433/langgraph?sslmode=disable"
LANGSERVE_GRAPHS: '{"agent": "./src/lib/agent.ts:agent"}'
DOCKER_CONTAINER: "true"
env_file:
- .env
pull_policy: missing
build:
context: .
dockerfile: Dockerfile.agent
healthcheck:
test: "python /api/healthcheck.py"
interval: 60s
start_interval: 1s
start_period: 10s