File size: 1,601 Bytes
ab07cb1 1c9cb5b ab07cb1 | 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: .
image: eurus-agent
entrypoint: ["python", "main.py"]
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: .
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:
|