Repository navigation
chore(deploy): Railway deployment support - #576
Merged
Merged
Conversation
Adds an installation page for Railway (dashboard steps, CLI path, Postgres switch) and the same setup as Railway Infrastructure as Code in deploy/railway/.railway/railway.ts. CI type-checks that file against the railway/iac SDK. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #576 +/- ##
==========================================
+ Coverage 83.19% 83.23% +0.04%
==========================================
Files 1207 1207
Lines 124137 124137
==========================================
+ Hits 103270 103326 +56
+ Misses 20858 20802 -56
Partials 9 9 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Railway as an installation target.
web/docs/docs/installation/railway.md: dashboard steps, CLI path, Postgres switch, first login.deploy/railway/.railway/railway.ts: the same setup as Railway Infrastructure as Code (one service fromghcr.io/fclairamb/solidping:0.38, a volume at/data, healthcheck on/api/mgmt/health). Railway deprecatedrailway.toml/railway.json(they stop being read on 2026-12-01), so this uses the new format.railway/iacSDK.Two Railway-specific settings:
RAILWAY_RUN_UID=0: Railway mounts volumes as root, and the image runs as the distroless nonroot user, which cannot write the SQLite file otherwise.SP_BASE_URL=https://${{RAILWAY_PUBLIC_DOMAIN}}. No port setting is needed, the server already honorsPORT.Not tested on a live Railway project. The config was type-checked and evaluated against
railway3.16.0, and the docs site builds.🤖 Generated with Claude Code