forked from bdecrem/vibeceo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrailway.toml
More file actions
58 lines (51 loc) · 1.44 KB
/
Copy pathrailway.toml
File metadata and controls
58 lines (51 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Cache bust: 2025-09-29-01
[build]
builder = "NIXPACKS"
# Enable Nixpacks caching for faster builds
[build.env]
NIXPACKS_CACHE_KEY = "v1"
[deploy]
startCommand = "npm start"
healthcheckPath = "/api/health"
healthcheckTimeout = 300
restartPolicyType = "ON_FAILURE"
restartPolicyMaxRetries = 10
[environments.production]
[environments.production.variables]
NODE_ENV = "production"
NEXT_TELEMETRY_DISABLED = "1"
[[services]]
[services.vibeceo]
source = "web/"
[services.vibeceo.build]
builder = "NIXPACKS"
buildCommand = "cd .. && npm ci --workspace=web && cd web && npm run build"
[services.vibeceo.deploy]
startCommand = "npm run start:web"
healthcheckPath = "/api/health"
[[services]]
[services.vibeceo-websocket]
source = "web/"
[services.vibeceo-websocket.build]
builder = "NIXPACKS"
buildCommand = "cd .. && npm ci --workspace=web"
[services.vibeceo-websocket.deploy]
startCommand = "npm run start:ws"
# Note: WebSocket server doesn't have an HTTP healthcheck endpoint
# Railway will monitor the process instead
[services.smsbot]
source = "sms-bot/"
[services.smsbot.build]
builder = "NIXPACKS"
buildCommand = "npm ci && npm run build"
[services.smsbot.deploy]
startCommand = "npm start"
healthcheckPath = "/health"
healthcheckTimeout = 300
[services.vibeceo-discord-bot]
source = "discord-bot/"
[services.vibeceo-discord-bot.build]
builder = "NIXPACKS"
buildCommand = "npm ci && npm run build"
[services.vibeceo-discord-bot.deploy]
startCommand = "npm start"