Spaces:
Sleeping

microfunnel-api / backend /railway.json
axeronis
Update start command to run migrations automatically
a5853b7
Raw History Blame Contribute Delete
333 Bytes
{
"$schema": "https://railway.app/railway.schema.json",
"build": {
"builder": "NIXPACKS",
"nixpacksConfigPath": "nixpacks.toml"
},
"deploy": {
"startCommand": "alembic upgrade head && uvicorn app.main:app --host 0.0.0.0 --port $PORT",
"restartPolicyType": "ON_FAILURE",
"restartPolicyMaxRetries": 10
}
}