-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
29 lines (28 loc) · 906 Bytes
/
Copy pathrender.yaml
File metadata and controls
29 lines (28 loc) · 906 Bytes
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 — $0/month free tier deployment
# Web service sleeps after 15min inactivity, wakes on next request
services:
- type: web
name: demand-forecast-api
runtime: python
plan: free # $0/month — 512MB RAM, 0.1 CPU
buildCommand: pip install -r requirements-lite.txt
startCommand: uvicorn src.api.main:app --host 0.0.0.0 --port $PORT
healthCheckPath: /api/v1/health
envVars:
- key: PYTHON_VERSION
value: "3.11.0"
- key: DF_ENVIRONMENT
value: production
- key: DF_MODEL_REGISTRY_PATH
value: /var/data/models
- key: DF_REDIS_ENABLED
value: "false"
- key: DF_KAFKA_CONSUMER_ENABLED
value: "false"
- key: DF_DRIFT_CHECK_ENABLED
value: "false"
- key: DF_ADMIN_API_KEY
value: admin-secret-change-me
- key: DF_DB_HOST
value: localhost
autoDeploy: true