-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (33 loc) · 846 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (33 loc) · 846 Bytes
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
services:
framework-benchmarks:
build:
context: .
target: production
ports:
- "3000:3000"
environment:
- NODE_ENV=production
volumes:
# Mount results directory for benchmarking (optional)
- ./benchmark-results:/app/benchmark-results
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
# Development version with full benchmarking capabilities
framework-benchmarks-dev:
build:
context: .
target: development
ports:
- "3000:3000"
environment:
- NODE_ENV=development
volumes:
- ./benchmark-results:/app/benchmark-results
- ./results:/app/results
profiles: ["dev"]
restart: unless-stopped