Skip to content

Commit 765d387

Browse files
fix(render): remove broken fromDatabase reference for WMG_DB_URL
The render.yaml had a fromDatabase reference to worldmodel-gym-db (paid plan basic-256mb) that was never provisioned through the blueprint. This caused WMG_DB_URL to resolve to an empty string, crashing the app on startup (exit status 3). Changes: - Remove databases section (DB managed manually via Render dashboard) - Remove fromDatabase WMG_DB_URL (set manually with credentials) - Add WMG_LEGACY_UPLOAD_TOKEN_ENABLED=false to disable legacy auth Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 71a44e8 commit 765d387

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

render.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
databases:
2-
- name: worldmodel-gym-db
3-
plan: basic-256mb
4-
51
services:
62
- type: web
73
name: worldmodel-gym-api
@@ -14,10 +10,8 @@ services:
1410
envVars:
1511
- key: WMG_ENV
1612
value: production
17-
- key: WMG_DB_URL
18-
fromDatabase:
19-
name: worldmodel-gym-db
20-
property: connectionString
13+
# WMG_DB_URL is set manually in the Render dashboard
14+
# (contains credentials — not stored in git)
2115
- key: WMG_AUTO_MIGRATE
2216
value: "true"
2317
- key: WMG_STORAGE_DIR
@@ -28,5 +22,7 @@ services:
2822
value: "true"
2923
- key: WMG_CORS_ORIGINS
3024
value: https://world-model-gym.vercel.app
25+
- key: WMG_LEGACY_UPLOAD_TOKEN_ENABLED
26+
value: "false"
3127
- key: WMG_UPLOAD_TOKEN
3228
generateValue: true

0 commit comments

Comments
 (0)