mirror of
https://github.com/srbhr/Resume-Matcher.git
synced 2026-01-14 03:40:02 +00:00
- Added commands for pulling and running the Docker image. - Updated docker-compose.yml to specify the image name.
27 lines
613 B
YAML
27 lines
613 B
YAML
services:
|
|
resume-matcher:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
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
|