-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrender.yaml
More file actions
47 lines (40 loc) · 1.49 KB
/
render.yaml
File metadata and controls
47 lines (40 loc) · 1.49 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
# Render.com deployment configuration for CancerAg Inference App
# Documentation: https://render.com/docs/infrastructure-as-code
services:
- type: web
name: cancerag-inference
runtime: docker
# Path to Dockerfile relative to repository root
dockerfilePath: ./inference_app/Dockerfile
# Build context is repository root (needed to access data/ and results/)
dockerContext: .
# Plan selection
# free: $0/month - 512MB RAM, 0.1 CPU, spins down after 15min inactivity
# starter: $7/month - 512MB RAM, 0.5 CPU
# standard: $25/month - 2GB RAM, 1 CPU (recommended for full features)
# pro: $85/month - 4GB RAM, 2 CPU
plan: free
# Deployment settings
region: oregon # or frankfurt, singapore based on user location
# Health check configuration
healthCheckPath: /
# Auto-deploy settings
autoDeploy: true # Deploy automatically on git push
# Environment variables
envVars:
- key: GRADIO_SERVER_NAME
value: "0.0.0.0"
- key: GRADIO_SERVER_PORT
value: "7860"
- key: BASE_PATH
value: /app
- key: GRADIO_ANALYTICS_ENABLED
value: "false"
- key: PYTHONUNBUFFERED
value: "1"
# Note: Scaling and disk features are not available on the free plan
# Free plan limitations:
# - Spins down after 15 minutes of inactivity
# - Cold start time: ~60-120 seconds when waking up
# - 512MB RAM limit (may struggle with all receptors loaded)
# - No persistent disk storage