-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
95 lines (89 loc) · 2.22 KB
/
docker-compose.yml
File metadata and controls
95 lines (89 loc) · 2.22 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
services:
argus:
build:
context: .
dockerfile: Dockerfile
ports:
- "7600:7600"
volumes:
# Host system access (read-only)
- /var/log:/host/var/log:ro
- /proc:/host/proc:ro
- /sys:/host/sys:ro
# Docker API access
- /var/run/docker.sock:/var/run/docker.sock
# Persistent data
- argus_data:/data
pid: "host"
privileged: true
environment:
- ARGUS_MODE=${ARGUS_MODE:-full}
- ARGUS_HOST_ROOT=/host
- ARGUS_DEBUG=false
- ARGUS_LLM__PROVIDER=${ARGUS_LLM_PROVIDER:-openai}
- ARGUS_LLM__API_KEY=${ARGUS_LLM_API_KEY:-}
- ARGUS_LLM__MODEL=${ARGUS_LLM_MODEL:-gpt-4o}
- ARGUS_CORS_ORIGINS=http://${ARGUS_HOST:-localhost}:3000
restart: unless-stopped
web:
build:
context: .
dockerfile: Dockerfile.web
args:
NEXT_PUBLIC_AGENT_WS_URL: ws://${ARGUS_HOST:-localhost}:7600/api/v1/ws
NEXT_PUBLIC_AGENT_API_URL: http://${ARGUS_HOST:-localhost}:7600/api/v1
NEXT_PUBLIC_ARGUS_URL: http://${ARGUS_HOST:-localhost}:7600
ports:
- "3000:3000"
restart: unless-stopped
cli:
build:
context: .
dockerfile: Dockerfile.cli
profiles: ["cli"]
environment:
- ARGUS_URL=http://argus:7600
depends_on:
- argus
stdin_open: true
tty: true
example-fastapi:
build:
context: .
dockerfile: examples/python-fastapi/Dockerfile
environment:
- ARGUS_URL=http://argus:7600
- PORT=8000
depends_on:
- argus
profiles: ["test"]
restart: unless-stopped
example-express:
build:
context: .
dockerfile: examples/node-express/Dockerfile
environment:
- ARGUS_URL=http://argus:7600
- PORT=8001
depends_on:
- argus
profiles: ["test"]
restart: unless-stopped
test-runner:
build:
context: .
dockerfile: packages/test-runner/Dockerfile
pid: "host"
privileged: true
environment:
- TARGET_APP=${TARGET_APP:-both}
- SCENARIO_INTERVAL=300
- ENABLE_SYSTEM_STRESS=true
- SCENARIOS=${SCENARIOS:-}
depends_on:
- example-fastapi
- example-express
profiles: ["test"]
restart: unless-stopped
volumes:
argus_data: