File size: 891 Bytes
4344b33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# Render.com deployment — free tier, single service
# Steps:
#   1. Push repo to GitHub
#   2. Go to https://dashboard.render.com/select-repo
#   3. Connect this repo — Render auto-reads this file
#   4. Deploy (zero config)

services:
  - type: web
    name: uvm-tb-generator
    runtime: python
    region: oregon
    plan: free
    buildCommand: |
      pip install -r requirements.txt
      cd frontend && npm ci && npm run build && cd ..
    startCommand: gunicorn src.api.server:app --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:$PORT --workers 1 --timeout 120
    envVars:
      - key: PYTHONUNBUFFERED
        value: "1"
      - key: LOG_LEVEL
        value: info
      - key: UVMGEN_OUTPUT_DIR
        value: /var/data/uvmgen_output
    healthCheckPath: /api/health
    autoDeploy: true
    disk:
      name: uvmgen-data
      mountPath: /var/data
      sizeGB: 1