system-prompts-and-models-o.../dealix/railway.toml
2026-05-01 14:03:52 +03:00

14 lines
416 B
TOML

[build]
builder = "DOCKERFILE"
dockerfilePath = "Dockerfile"
[deploy]
# Intentionally NO startCommand — Dockerfile's CMD uses `sh -c` which
# correctly expands Railway's injected $PORT. Overriding here bypasses
# the shell and breaks ${PORT:-8000} → uvicorn treats it as literal.
healthcheckPath = "/healthz"
healthcheckTimeout = 300
restartPolicyType = "ON_FAILURE"
restartPolicyMaxRetries = 3
numReplicas = 1