Create railway.json configuration
cgen-ab7071b2b1854e70ace52308a46fbbec
This commit is contained in:
parent
9fd6918a2f
commit
f50642a225
1 changed files with 14 additions and 0 deletions
14
railway.json
Normal file
14
railway.json
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://railway.app/railway.schema.json",
|
||||||
|
"build": {
|
||||||
|
"builder": "dockerfile"
|
||||||
|
},
|
||||||
|
"deploy": {
|
||||||
|
"numReplicas": 1,
|
||||||
|
"startCommand": "npm start",
|
||||||
|
"restartPolicyMaxRetries": 5
|
||||||
|
},
|
||||||
|
"environmentVariables": {
|
||||||
|
"NODE_ENV": "production"
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue