Switch to railway.toml; set PORT=8080 default

This commit is contained in:
Vignesh Natarajan
2026-01-25 01:17:29 -08:00
parent 97da758ff9
commit 189aa3f9b2
2 changed files with 10 additions and 12 deletions
-12
View File
@@ -1,12 +0,0 @@
{
"$schema": "https://railway.com/railway.schema.json",
"build": {
"builder": "DOCKERFILE"
},
"deploy": {
"startCommand": "node src/server.js",
"healthcheckPath": "/setup/healthz",
"healthcheckTimeout": 300,
"restartPolicyType": "ON_FAILURE"
}
}
+10
View File
@@ -0,0 +1,10 @@
[build]
builder = "dockerfile"
[deploy]
healthcheckPath = "/setup/healthz"
healthcheckTimeout = 300
restartPolicyType = "on_failure"
[variables]
PORT = "8080"