mirror of
https://github.com/hanzoai/bot-railway-template.git
synced 2026-10-30 18:46:40 +00:00
18 lines
482 B
TOML
18 lines
482 B
TOML
[build]
|
|
builder = "dockerfile"
|
|
|
|
[deploy]
|
|
healthcheckPath = "/setup/healthz"
|
|
healthcheckTimeout = 300
|
|
restartPolicyType = "on_failure"
|
|
|
|
# Require a persistent volume mounted at /data (Railway).
|
|
requiredMountPath = "/data"
|
|
|
|
[variables]
|
|
# NOTE: Railway injects PORT automatically.
|
|
# Do not set PORT here; Railway templates may not apply it reliably and hardcoding
|
|
# can cause domain routing mismatches.
|
|
OPENCLAW_STATE_DIR = "/data/.openclaw"
|
|
OPENCLAW_WORKSPACE_DIR = "/data/workspace"
|