Skip to content

Commit 4ee86fd

Browse files
jsb2092claude
andcommitted
Fix Railway config: use DOCKERFILE builder, increase healthcheck timeout
- Change builder from NIXPACKS to DOCKERFILE so railway.json is respected - Remove redundant startCommand (Dockerfile CMD handles this) - Increase healthcheckTimeout from 100s to 300s for slower migrations 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 1a62a91 commit 4ee86fd

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

questionbank/railway.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
22
"$schema": "https://railway.app/railway.schema.json",
33
"build": {
4-
"builder": "NIXPACKS"
4+
"builder": "DOCKERFILE"
55
},
66
"deploy": {
77
"numReplicas": 1,
8-
"startCommand": "python manage.py migrate --noinput && gunicorn config.wsgi:application --bind 0.0.0.0:$PORT",
98
"healthcheckPath": "/health/",
10-
"healthcheckTimeout": 100,
9+
"healthcheckTimeout": 300,
1110
"restartPolicyType": "ON_FAILURE",
1211
"restartPolicyMaxRetries": 3
1312
}

0 commit comments

Comments
 (0)