Skip to content

Commit 7e47834

Browse files
committed
Add Railway deployment configuration
1 parent 2b066e1 commit 7e47834

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

railway.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[build]
2+
builder = "nixpacks"
3+
buildCommand = "npm run build:web"
4+
watchPatterns = ["web/**"]
5+
6+
[deploy]
7+
startCommand = "npm start"
8+
restartPolicyType = "on_failure"
9+
restartPolicyMaxRetries = 3
10+
11+
[env]
12+
NODE_ENV = "production"
13+
PORT = "3000"
14+
15+
[healthcheck]
16+
path = "/health"
17+
intervalSeconds = 30
18+
timeoutSeconds = 10

0 commit comments

Comments
 (0)