-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
27 lines (26 loc) · 633 Bytes
/
docker-compose.yml
File metadata and controls
27 lines (26 loc) · 633 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
services:
resume-matcher:
build:
context: .
dockerfile: Dockerfile
network: host
image: resume-matcher
container_name: resume-matcher
ports:
- "3000:3000" # Frontend
- "8000:8000" # Backend API
volumes:
- resume-data:/app/backend/data
environment:
- NODE_ENV=production
- NEXT_PUBLIC_API_URL=http://localhost:8000
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/api/v1/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
volumes:
resume-data:
driver: local