File size: 1,198 Bytes
1605cbb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# Render blueprint for the FALSIFY backend (Deployment Plan B).
# Render builds the repo's Dockerfile and injects $PORT (our CMD honors it).
#
# One-click: push this file, then in Render → "New +" → "Blueprint" → pick the repo.
# Or create a Web Service manually with runtime=docker (see DEPLOYMENT.md §Render).
services:
  - type: web
    name: falsify-backend
    runtime: docker              # uses ./Dockerfile
    plan: free                   # NOTE: free spins down after 15 min idle (30–60s cold start).
                                 # Bump to "starter" ($7/mo) to keep it always-on for judging.
    region: oregon
    healthCheckPath: /api/health
    autoDeploy: true
    envVars:
      # The Vercel URL that may call this backend. Set after the frontend deploys.
      - key: FRONTEND_ORIGIN
        sync: false
      # Optional — only needed for Live mode / document upload (cognify) / recall.
      - key: LLM_API_KEY
        sync: false
      - key: LLM_MODEL
        value: gpt-4o-mini
      # Optional — only if you demo the Cognee Cloud toggle from this backend.
      - key: COGNEE_CLOUD_URL
        sync: false
      - key: COGNEE_CLOUD_API_KEY
        sync: false