-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
51 lines (48 loc) · 1.28 KB
/
docker-compose.dev.yml
File metadata and controls
51 lines (48 loc) · 1.28 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
# Development overrides - use with: docker compose -f docker-compose.yml -f docker-compose.dev.yml up
services:
argus:
build:
context: .
dockerfile: Dockerfile
volumes:
- ./packages/agent/src:/app/src
- /var/log:/host/var/log:ro
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- argus_data:/data
environment:
- ARGUS_DEBUG=true
pid: "host"
privileged: true
command: ["python", "-m", "uvicorn", "argus_agent.main:app",
"--host", "0.0.0.0", "--port", "7600", "--reload", "--reload-dir", "src"]
ports:
- "7600:7600"
web:
image: node:22-alpine
working_dir: /app
command: sh -c "npm install && npm run dev"
ports:
- "3000:3000"
volumes:
- ./packages/web:/app
- web_node_modules:/app/node_modules
environment:
- NEXT_PUBLIC_AGENT_WS_URL=ws://localhost:7600/api/v1/ws
- NEXT_PUBLIC_AGENT_API_URL=http://localhost:7600/api/v1
cli:
image: python:3.12-slim
working_dir: /app
command: ["sh", "-c", "pip install -e . && argus chat"]
profiles: ["cli"]
volumes:
- ./packages/cli:/app
environment:
- ARGUS_URL=http://argus:7600
depends_on:
- argus
stdin_open: true
tty: true
volumes:
argus_data:
web_node_modules: