From 189aa3f9b2228e2f6aeda61def01557c032a6608 Mon Sep 17 00:00:00 2001 From: Vignesh Natarajan Date: Sun, 25 Jan 2026 01:17:29 -0800 Subject: [PATCH] Switch to railway.toml; set PORT=8080 default --- railway.json | 12 ------------ railway.toml | 10 ++++++++++ 2 files changed, 10 insertions(+), 12 deletions(-) delete mode 100644 railway.json create mode 100644 railway.toml diff --git a/railway.json b/railway.json deleted file mode 100644 index 1ba3d9d..0000000 --- a/railway.json +++ /dev/null @@ -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" - } -} diff --git a/railway.toml b/railway.toml new file mode 100644 index 0000000..75e87aa --- /dev/null +++ b/railway.toml @@ -0,0 +1,10 @@ +[build] +builder = "dockerfile" + +[deploy] +healthcheckPath = "/setup/healthz" +healthcheckTimeout = 300 +restartPolicyType = "on_failure" + +[variables] +PORT = "8080"