-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
34 lines (34 loc) · 1.01 KB
/
render.yaml
File metadata and controls
34 lines (34 loc) · 1.01 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
services:
- type: web
name: worldmodel-gym-api
env: docker
dockerfilePath: ./docker/server.Dockerfile
dockerContext: .
plan: free
healthCheckPath: /healthz
autoDeploy: true
envVars:
- key: WMG_ENV
value: production
# WMG_DB_URL is set manually in the Render dashboard
# (contains credentials — not stored in git)
- key: WMG_AUTO_MIGRATE
value: "true"
- key: WMG_STORAGE_DIR
value: /tmp/storage
- key: WMG_SEED_DEMO_DATA
value: "true"
- key: WMG_ENABLE_METRICS
value: "true"
- key: WMG_LOG_JSON
value: "true"
- key: WMG_LOG_LEVEL
value: "INFO"
- key: WMG_CORS_ORIGINS
value: https://world-model-gym.vercel.app
- key: WMG_LEGACY_UPLOAD_TOKEN_ENABLED
value: "false"
# Optional one-time bootstrap for the first admin/writer key.
# Remove after a durable production API key is in place.
- key: WMG_BOOTSTRAP_API_KEY
generateValue: true