mirror of
https://github.com/arjunkomath/openclaw-railway-template.git
synced 2026-08-14 00:48:11 +00:00
Switch to railway.toml; set PORT=8080 default
This commit is contained in:
@@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
[build]
|
||||||
|
builder = "dockerfile"
|
||||||
|
|
||||||
|
[deploy]
|
||||||
|
healthcheckPath = "/setup/healthz"
|
||||||
|
healthcheckTimeout = 300
|
||||||
|
restartPolicyType = "on_failure"
|
||||||
|
|
||||||
|
[variables]
|
||||||
|
PORT = "8080"
|
||||||
Reference in New Issue
Block a user