-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
77 lines (73 loc) · 2.01 KB
/
docker-compose.yml
File metadata and controls
77 lines (73 loc) · 2.01 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
version: '3.8'
services:
verilator-api:
build:
context: ./verilator-api
dockerfile: Dockerfile
restart: unless-stopped
ports:
- "8001:8001"
volumes:
- ./shared:/shared
- ./results:/app/results # unified results path
environment:
- SERVICE_NAME=verilator-simulation
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8001/health"]
interval: 300s
timeout: 20s
retries: 2
start_period: 30s
openlane-api:
build:
context: ./openlane-api
dockerfile: Dockerfile
restart: unless-stopped
ports:
- "8003:8003"
volumes:
- ./shared:/shared
- ./results:/app/results # unified results path
# Optional for local debug (not required if using POST /run_openlane):
# - ./test_designs/rv32i:/openlane/designs/rv32i
environment:
- SERVICE_NAME=openlane-implementation
- PDK_ROOT=/openlane/pdks
- PDK=sky130A
- STD_CELL_LIBRARY=sky130_fd_sc_hd
- PDKPATH=/openlane/pdks/sky130A
# Remove these unless you truly run docker-in-docker:
# privileged: true
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8003/health"]
interval: 300s
timeout: 20s
retries: 2
start_period: 30s
eda-gateway:
build:
context: ./gateway
dockerfile: Dockerfile
restart: unless-stopped
ports:
- "8080:8080"
depends_on:
- verilator-api
- openlane-api
volumes:
- ./results:/app/results # unified results path
- ./shared:/shared
environment:
- VERILATOR_URL=http://verilator-api:8001
- OPENLANE_URL=http://openlane-api:8003
# EDA_API_KEY comes from .env
# Named volumes not needed if you standardize on ./results (remove clutter)
# volumes:
# openlane_designs:
# driver: local
# openlane_runs:
# driver: local
# openlane_results:
# driver: local