Skip to content

Add Railway deployment manifest for Dockerfile-based runtime#2

Draft
mohammed5150 with Copilot wants to merge 1 commit into
masterfrom
copilot/dockerfile-build-configuration
Draft

Add Railway deployment manifest for Dockerfile-based runtime#2
mohammed5150 with Copilot wants to merge 1 commit into
masterfrom
copilot/dockerfile-build-configuration

Conversation

Copilot AI commented Jul 10, 2026

Copy link
Copy Markdown

This updates the repository to include an explicit Railway deployment manifest aligned with the intended infrastructure settings. It defines Dockerfile-based builds and stable single-replica deployment behavior with bounded restart retries.

  • Deployment manifest

    • Added railway.json at repo root using Railway schema.
    • Declares DOCKERFILE builder with dockerfilePath: "/Dockerfile" and buildEnvironment: "V3".
  • Runtime and resilience policy

    • Configures runtime V2, numReplicas: 1, and sleepApplication: false.
    • Sets restart policy to ON_FAILURE with restartPolicyMaxRetries: 10.
  • Region and network settings

    • Enables multi-region config with sfo set to one replica.
    • Keeps ipv6EgressEnabled: false and useLegacyStacker: false.
{
  "$schema": "https://railway.com/railway.schema.json",
  "build": {
    "builder": "DOCKERFILE",
    "dockerfilePath": "/Dockerfile",
    "buildEnvironment": "V3"
  },
  "deploy": {
    "runtime": "V2",
    "numReplicas": 1,
    "multiRegionConfig": { "sfo": { "numReplicas": 1 } },
    "restartPolicyType": "ON_FAILURE",
    "restartPolicyMaxRetries": 10
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants