-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (44 loc) · 1.56 KB
/
docker-compose.yml
File metadata and controls
47 lines (44 loc) · 1.56 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
# ============================================================================
# Eurus — Docker Compose
# ============================================================================
# Usage:
# docker compose run --rm agent # interactive CLI
# docker compose up web # web UI on http://localhost:8000
# docker compose up web -d # web UI (detached)
# ============================================================================
services:
# ── Interactive CLI agent ──────────────────────────────────────────────
agent:
build:
context: .
target: agent
image: eurus-agent
env_file: .env
environment:
- EURUS_DOCKER=1
volumes:
- eurus-data:/app/data # persist downloaded datasets
- eurus-memory:/app/.memory # persist memory between runs
- eurus-plots:/app/data/plots # persist generated plots
stdin_open: true # -i (interactive)
tty: true # -t (terminal)
# ── Web interface (FastAPI + WebSocket) ────────────────────────────────
web:
build:
context: .
target: web
image: eurus-web
env_file: .env
environment:
- EURUS_DOCKER=1
ports:
- "8000:8000"
volumes:
- eurus-data:/app/data
- eurus-memory:/app/.memory
- eurus-plots:/app/data/plots
restart: unless-stopped
volumes:
eurus-data:
eurus-memory:
eurus-plots: