Deploy vast-green
Self-hosted S3 storage with a web management dashboard
Garage S3
Just deployed
/garage-volume
Just deployed
Deploy and Host Garage S3 + WebUI on Railway
Garage is a lightweight, open-source, S3-compatible object storage engine written in Rust — consuming only ~30–50 MB of RAM. This template pairs it with a modern web dashboard (garage-webui) so you can manage buckets, keys, and files visually without touching the CLI.
About Hosting Garage S3 + WebUI
This template deploys two services inside your Railway project: Garage (the S3 storage backend) and WebUI (a Go + React dashboard). Garage handles all object read/write via a standard S3-compatible API, persisting data and credentials to a Railway volume across restarts. The WebUI connects to Garage's Admin API over Railway's private internal network — never exposed publicly — letting you manage buckets, access keys, and files from a browser without touching the CLI.
Common Use Cases
- File storage backend for web and mobile applications
- Self-hosted alternative to AWS S3 or Cloudflare R2
- Media storage for CMS platforms (images, videos, documents)
- Backup destination for other Railway services
- Storage layer for AI pipelines and data workflows
Dependencies for Garage S3 + WebUI Hosting
- A persistent volume attached to the Garage service (mounted at
/data) - Both services must be deployed inside the same Railway project
Deployment Dependencies
Implementation Details
The Garage service exposes the S3 API publicly (via PORT) and the Admin API on port 3902 exclusively through Railway's private network. The WebUI reaches Garage via ${{Garage.RAILWAY_PRIVATE_DOMAIN}}:3902 — set this as API_BASE_URL in the WebUI service variables, along with API_ADMIN_KEY=${{Garage.GARAGE_ADMIN_TOKEN}}.
Why Deploy Garage S3 + WebUI 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 Garage S3 + WebUI 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
Garage S3
matheusac19/railway_garage_templateGARAGE_ACCESS_KEY
(Recommended) Create your S3 Access Key ID. It MUST start with 'GK' (Ex: GKmyproject123). If left blank, a secure key will be generated in the logs of the first deployment.
GARAGE_SECRET_KEY
(Recommended) Create your S3 Secret Key. It must be EXACTLY 64 hexadecimal characters (letters a-f, numbers 0-9). If left blank, one will be automatically generated in the logs.
AUTH_USER_PASS
Bcrypt-hashed login for the UI — format: user:$2b$... — leave blank to disable auth
