-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
74 lines (69 loc) · 1.65 KB
/
docker-compose.yml
File metadata and controls
74 lines (69 loc) · 1.65 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
services:
postgres:
image: postgres:16-alpine
environment:
POSTGRES_USER: rooben
POSTGRES_PASSWORD: rooben
POSTGRES_DB: rooben
volumes:
- pgdata:/var/lib/postgresql/data
- ./scripts/init.sql:/docker-entrypoint-initdb.d/init.sql
ports:
- "5432:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U rooben"]
interval: 5s
timeout: 3s
retries: 5
mcp-gateway:
build: ./mcp-gateway
volumes:
- rooben_secrets:/app/.rooben
- npm_cache:/root/.npm
networks:
- default
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:8080/health"]
interval: 10s
timeout: 3s
retries: 5
api:
build: .
depends_on:
postgres:
condition: service_healthy
mcp-gateway:
condition: service_healthy
volumes:
- rooben_secrets:/app/.rooben
environment:
DATABASE_URL: postgresql://rooben:rooben@postgres:5432/rooben
ROOBEN_API_KEYS: ${ROOBEN_API_KEYS:-}
ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY:-}
OPENAI_API_KEY: ${OPENAI_API_KEY:-}
ROOBEN_STATIC_DIR: /app/static
MCP_GATEWAY_URL: http://mcp-gateway:8080
ports:
- "8420:8420"
dashboard:
build: ./dashboard
depends_on:
api:
condition: service_healthy
environment:
NEXT_INTERNAL_API_URL: http://api:8420
NEXT_TELEMETRY_DISABLED: "1"
ports:
- "3000:3000"
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:3000/"]
interval: 10s
timeout: 3s
retries: 10
volumes:
pgdata:
rooben_secrets:
npm_cache:
networks:
default:
name: rooben