-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathcompose.yaml
More file actions
67 lines (59 loc) · 1.48 KB
/
compose.yaml
File metadata and controls
67 lines (59 loc) · 1.48 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
# Docker Compose for EVA
#
# Usage:
# # Build the image
# docker compose build
#
# # Run a benchmark (set EVA_DOMAIN in .env or pass --domain)
# docker compose run --rm benchmark
services:
benchmark:
build:
context: .
dockerfile: Dockerfile
image: eva:latest
container_name: eva
env_file: .env
# Mount volumes for data and output persistence
volumes:
# Input data (dataset, tool mocks, agent configs)
- ./data:/app/data:ro
# Output directory (results, metrics)
- ./output:/app/output
# Mount configs for easy customization (includes prompts)
- ./configs:/app/configs:ro
# Resource limits (adjust based on your system)
deploy:
resources:
limits:
cpus: '4'
memory: 8G
reservations:
cpus: '2'
memory: 4G
# Keep container running for interactive use
stdin_open: true
tty: true
# Development service with source mounted
dev:
build:
context: .
dockerfile: Dockerfile
image: eva:latest
container_name: eva-dev
env_file: .env
volumes:
- ./data:/app/data:ro
- ./output:/app/output
- ./configs:/app/configs:ro
# Mount source for development
- ./src:/app/src
- ./tests:/app/tests
- ./scripts:/app/scripts
environment:
EVA_DEBUG: "true"
EVA_LOG_LEVEL: DEBUG
# Override entrypoint for shell access
entrypoint: /bin/bash
stdin_open: true
tty: true