Skip to content

Commit 344809f

Browse files
author
Lexecon Dev
committed
fix(deploy): resolve Railway deployment configuration issues
- Remove conflicting railway.json (was overriding railway.toml) - Update railway.toml healthcheck timeout from 100s to 300s - Rename service from 'lexecon-backend' to 'lexecon' - Reduce maxRetries from 10 to 3 for faster failure detection The conflicting railway.json had a different start command that didn't run migrations, causing database schema issues on fresh deployments.
1 parent a148337 commit 344809f

2 files changed

Lines changed: 3 additions & 17 deletions

File tree

railway.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

railway.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ dockerfilePath = "Dockerfile"
55
[deploy]
66
startCommand = "/bin/sh /app/start.sh"
77
healthcheckPath = "/health"
8-
healthcheckTimeout = 100
8+
healthcheckTimeout = 300
99
restartPolicyType = "ON_FAILURE"
10-
restartPolicyMaxRetries = 10
10+
restartPolicyMaxRetries = 3
1111

1212
[[services]]
13-
name = "lexecon-backend"
13+
name = "lexecon"

0 commit comments

Comments
 (0)