Jobber/docker-compose.yml
Shaheer Sarfaraz 3be0d25c87
Starting work on Dashboard! (#65)
* initial commit

* fix build issues and configurable time duration

* show in nav

* Positive response rate by posting freshness

* load today's jobs for charts

* fix infinite refetching with onboarding gate

* application to response rate

* refactor charts to their own directory

* bar hover color

* Duration selector embedded in navbar

* always load env

* remove warning about low conversion rate

* trend graph for applications per day

* better copy

* remove freshness response chart

* bottom line chart color and tooltip improved

* introduce check all command

* fix lint

* tests added and CI passing
2026-01-30 11:40:17 +00:00

60 lines
1.7 KiB
YAML

# =============================================================================
# Job Ops - Docker Compose Configuration
# =============================================================================
services:
job-ops:
build:
context: .
dockerfile: Dockerfile
image: ghcr.io/dakheera47/job-ops:latest
container_name: job-ops
ports:
- "3005:3001"
volumes:
# Persist database and generated PDFs
- ./data:/app/data
environment:
# Server config
- NODE_ENV=production
- PORT=3001
# Python path (uses system python in container)
- PYTHON_PATH=/usr/bin/python3
env_file:
- path: ./.env
required: false
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3001/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
develop:
watch:
# Rebuild container when package.json changes
- path: ./orchestrator/package.json
action: rebuild
- path: ./orchestrator/package-lock.json
action: rebuild
# Sync source code changes and rebuild inside container
- path: ./orchestrator/src
target: /app/orchestrator/src
action: sync+restart
# Sync extractor changes
- path: ./extractors/gradcracker/src
target: /app/extractors/gradcracker/src
action: sync+restart
- path: ./extractors/ukvisajobs/src
target: /app/extractors/ukvisajobs/src
action: sync+restart
- path: ./extractors/jobspy
target: /app/extractors/jobspy
action: sync+restart
# Volumes for data persistence
volumes:
data: