-
-
Notifications
You must be signed in to change notification settings - Fork 333
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
85 lines (80 loc) · 2.57 KB
/
docker-compose.yml
File metadata and controls
85 lines (80 loc) · 2.57 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
78
79
80
81
82
83
84
85
# =============================================================================
# Job Ops - Docker Compose Configuration
# =============================================================================
services:
job-ops:
build:
context: .
dockerfile: Dockerfile
secrets:
- github_token
image: ghcr.io/dakheera47/job-ops:latest
container_name: job-ops
ports:
- "3005:3001"
volumes:
# Persist database and generated PDFs
- ./data:/app/data
# Persist Codex login/session data for app-server provider
- codex-home:/app/codex-home
environment:
# Server config
- NODE_ENV=production
- PORT=3001
# Python path (uses system python in container)
- PYTHON_PATH=/usr/bin/python3
# Codex runtime home (stores auth and config)
- CODEX_HOME=/app/codex-home
env_file:
- path: ./.env
required: false
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
- path: ./visa-sponsor-providers
target: /app/visa-sponsor-providers
action: sync+restart
# Sync extractor changes
- path: ./extractors/gradcracker/src
target: /app/extractors/gradcracker/src
action: sync+restart
- path: ./extractors/hiringcafe/src
target: /app/extractors/hiringcafe/src
action: sync+restart
- path: ./extractors/ukvisajobs/src
target: /app/extractors/ukvisajobs/src
action: sync+restart
- path: ./extractors/workingnomads/src
target: /app/extractors/workingnomads/src
action: sync+restart
- path: ./extractors/golangjobs/src
target: /app/extractors/golangjobs/src
action: sync+restart
- path: ./extractors/seek/src
target: /app/extractors/seek/src
action: sync+restart
- path: ./extractors/jobspy
target: /app/extractors/jobspy
action: sync+restart
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3001/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
secrets:
github_token:
environment: GITHUB_TOKEN
# Volumes for data persistence
volumes:
data:
codex-home: