-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
61 lines (57 loc) · 1.48 KB
/
docker-compose.yml
File metadata and controls
61 lines (57 loc) · 1.48 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
services:
agent:
build: .
volumes:
- ./.agent:/app/.agent
- ./persona.json:/app/persona.json
ports:
- "3002:3002"
depends_on:
- redis
- postgres
- operational_persona
environment:
- NODE_ENV=production
- MODEL=deepseek:deepseek-reasoner
- REDIS_URL=redis://redis:6379
- POSTGRES_URL=postgresql://postgres:postgres@postgres:5432/postgres
- SLACK_WEBHOOK_URL=${SLACK_WEBHOOK_URL}
healthcheck:
test: [ "CMD", "nc", "-z", "localhost", "3002" ]
interval: 30s
timeout: 10s
retries: 3
restart: unless-stopped
operational_persona:
build: .
entrypoint: ["node", "dist/mcp_servers/operational_persona/index.js"]
volumes:
- ./.agent:/app/.agent
- ./persona.json:/app/persona.json
ports:
- "3005:3005"
environment:
- NODE_ENV=production
- PORT=3005
- JULES_AGENT_DIR=/app/.agent
- SLACK_WEBHOOK_URL=${SLACK_WEBHOOK_URL}
- REDIS_URL=redis://redis:6379
- POSTGRES_URL=postgresql://postgres:postgres@postgres:5432/postgres
restart: unless-stopped
redis:
image: redis:alpine
volumes:
- redis_data:/data
restart: unless-stopped
postgres:
image: postgres:alpine
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
volumes:
- postgres_data:/var/lib/postgresql/data
restart: unless-stopped
volumes:
redis_data:
postgres_data: