File size: 1,026 Bytes
03f22d7
 
 
 
 
 
 
 
 
4d92cd5
 
 
 
03f22d7
4d92cd5
 
 
03f22d7
 
 
 
 
 
4d92cd5
 
03f22d7
4d92cd5
 
 
 
 
 
 
 
 
 
03f22d7
4d92cd5
 
 
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
# render.yaml - Render Blueprint for PIOE
# This creates a web service AND a PostgreSQL database

databases:
  - name: pioe-db
    plan: free
    databaseName: pioe
    user: pioe

services:
  - type: web
    name: pioe
    runtime: python
    plan: free
    buildCommand: pip install -r requirements.txt
    startCommand: uvicorn backend.main:app --host 0.0.0.0 --port $PORT
    envVars:
      # Database (auto-linked from the database above)
      - key: DATABASE_URL
        fromDatabase:
          name: pioe-db
          property: connectionString
      # AI API (required - add manually in dashboard)
      - key: GEMINI_API_KEY
        sync: false
      # Job Board APIs (optional)
      - key: ADZUNA_APP_ID
        sync: false
      - key: ADZUNA_API_KEY
        sync: false
      - key: JOOBLE_API_KEY
        sync: false
      - key: RAPIDAPI_KEY
        sync: false
      - key: GITHUB_TOKEN
        sync: false
      # Scoring
      - key: MIN_RELEVANCE_SCORE
        value: "0.3"
    healthCheckPath: /api/stats