
Deploy Soft Serve / Soft-Serve
A tasty, self-hostable Git server for the command line
Just deployed
/var/lib/postgresql/data
Soft Serve
Just deployed
/soft-serve
Deploy and Host Soft Serve on Railway
Soft Serve is a self-hosted Git server with a terminal-based user interface (TUI) accessed over SSH. It provides repository browsing, management, and collaboration features without requiring a web UI, making it ideal for lightweight, private Git hosting.
About Hosting Soft Serve
Hosting Soft Serve on Railway involves running the official Soft Serve container, attaching a single persistent volume for repository data, and configuring SSH access as the primary interface. PostgreSQL is used as the backing datastore for metadata and application state instead of the default embedded storage. Railway manages networking, scaling, and uptime, while you control access via SSH keys and environment variables. This setup is well-suited for teams that want a low-maintenance Git server without managing virtual machines or complex orchestration.
Common Use Cases
- Private Git hosting for small teams or personal projects
- Internal tooling repositories with SSH-only access
- Lightweight alternative to GitHub or GitLab for closed environments
Dependencies for Soft Serve Hosting
- Soft Serve (containerized)
- PostgreSQL (single instance)
Deployment Dependencies
- Soft Serve repository: https://github.com/charmbracelet/soft-serve
- Railway PostgreSQL plugin
Implementation Details
Soft Serve uses SSH as its primary interface (default port 23231). A single persistent volume is mounted to store repositories and configuration data. PostgreSQL connection details are provided via environment variables during deployment, and initial admin access is configured using SSH public keys.
Why Deploy Soft Serve on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Soft Serve on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
Soft Serve
charmcli/soft-serve:latest