Files
rsh26_pool_example/railway.json
T
haruki bd4e743a30 Run database migrations on startup
Add railway.json config and update Dockerfile entrypoint to run
migrations before starting the server.
2026-09-02 13:50:29 +09:00

13 lines
292 B
JSON

{
"$schema": "https://railway.com/railway.schema.json",
"build": {
"builder": "DOCKERFILE",
"dockerfilePath": "Dockerfile"
},
"deploy": {
"startCommand": "/app/bin/migrate && /app/bin/server",
"restartPolicyType": "ON_FAILURE",
"restartPolicyMaxRetries": 10
}
}