-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrailway.toml
More file actions
29 lines (23 loc) · 792 Bytes
/
railway.toml
File metadata and controls
29 lines (23 loc) · 792 Bytes
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
# ===========================================
# PairUX Web App - Railway Configuration
# ===========================================
# Railway will use this config for deployment
# Docs: https://docs.railway.app/reference/config-as-code
# ===========================================
[build]
# Use Dockerfile for build
builder = "DOCKERFILE"
dockerfilePath = "apps/web/Dockerfile"
# Build context is the repo root
watchPatterns = ["apps/web/**", "packages/**", "pnpm-lock.yaml"]
[deploy]
# Number of replicas
numReplicas = 1
# Health check endpoint
healthcheckPath = "/api/health"
healthcheckTimeout = 30
# Restart policy
restartPolicyType = "ON_FAILURE"
restartPolicyMaxRetries = 3
# Start command (defined in Dockerfile CMD, but explicit here)
startCommand = "node apps/web/server.js"