Railway

Deploy vast-green

Self-hosted S3 storage with a web management dashboard

Deploy vast-green

/garage-volume

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

More templates in this category

View Template
Garage S3 Storage
Ultra-light S3 server: fast, open-source, plug-and-play 🚀

PROJETOS
View Template
Postgres Backup to Cloudflare R2 (S3-Compatible)
Automated PostgreSQL backups to S3-compatible storage with encryption

Artour
View Template
ReadySet
A lightweight caching engine for Postgres

Milo