-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrailway.toml
More file actions
23 lines (21 loc) · 977 Bytes
/
Copy pathrailway.toml
File metadata and controls
23 lines (21 loc) · 977 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Railway deploy config for sign-cli's hosted services.
# railway login
# railway init
# railway up
#
# Railway auto-discovers railway.toml at the repo root. The Dockerfile
# stays under deploy/, selected per-service via the RAILWAY_DOCKERFILE_PATH
# env variable. We deploy two services from the same repo:
# - sign-cli-demo: deploy/Dockerfile (HTTP /v1/* read-only demo)
# - sign-cli-mcp: deploy/Dockerfile.mcp-http (MCP-over-HTTP for Smithery/mcp.run)
#
# PORT is provided by Railway and honoured inside the entrypoint scripts;
# defaults still apply when running locally via docker-compose.
[build]
builder = "DOCKERFILE"
[deploy]
# entrypoint exits cleanly (code 0) after DEMO_TTL_SECONDS so the platform
# brings us back up with a fresh seed. That reset loop only works if Railway
# restarts on *any* exit, not just non-zero ones — hence ALWAYS, not
# ON_FAILURE. (Fly and Render restart on any exit by default.)
restartPolicyType = "ALWAYS"