-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
79 lines (76 loc) · 2 KB
/
Copy pathdocker-compose.yml
File metadata and controls
79 lines (76 loc) · 2 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
75
76
77
78
79
services:
argus-daemon:
build:
context: .
dockerfile: Dockerfile
container_name: argus-daemon
restart: unless-stopped
environment:
- TZ=America/New_York
- ARGUS_DATA_DIR=/argus/data
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY}
- TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN}
- SUPABASE_ARGUS_URL=${SUPABASE_ARGUS_URL:-}
- SUPABASE_ARGUS_SERVICE_KEY=${SUPABASE_ARGUS_SERVICE_KEY:-}
- TELEGRAM_CHAT_ID=${TELEGRAM_CHAT_ID:-}
- BRAVE_SEARCH_API_KEY=${BRAVE_SEARCH_API_KEY:-}
ports:
- "8888:8888"
- "9000:9000"
volumes:
- argus-data:/argus/data
- workspace:/workspace
- /var/run/docker.sock:/var/run/docker.sock:ro
depends_on:
- argus-workspace
deploy:
resources:
limits:
cpus: '2.0'
memory: 2G
reservations:
cpus: '0.5'
memory: 512M
argus-frontend:
build:
context: ./frontend
dockerfile: Dockerfile.frontend
args:
# NEXT_PUBLIC_* must be baked in at build time — this passes it to Dockerfile ARG
- NEXT_PUBLIC_WS_URL=ws://localhost:9000/ws
container_name: argus-frontend
restart: unless-stopped
ports:
- "3000:3000"
environment:
- NODE_ENV=production
- ARGUS_DAEMON_URL=http://argus-daemon:9000
depends_on:
- argus-daemon
deploy:
resources:
limits:
cpus: '1.0'
memory: 1G
argus-workspace:
build:
context: .
dockerfile: Dockerfile.workspace
container_name: argus-workspace
restart: unless-stopped
volumes:
- workspace:/workspace
environment:
- WORKSPACE_EXEC_TOKEN=${WORKSPACE_EXEC_TOKEN:-}
ports:
- "8081:8081" # Static file server — agent-created HTML pages (browsable on host)
expose:
- "9001" # Exec server — internal Docker network only
deploy:
resources:
limits:
cpus: '2.0'
memory: 4G
volumes:
argus-data:
workspace: