Deploy Homebox
Home inventory and asset tracker with optional Postgres
railway-templates
Just deployed
/data
Deploy and Host Homebox on Railway
Homebox (sysadminsmedia/homebox) is a self-hosted home inventory and asset tracker. This template adds stable generated secrets, a registration lock you can switch on after your first signup, and an optional Postgres database.
About Hosting Homebox
Hosting Homebox on Railway means running the official image ghcr.io/sysadminsmedia/homebox:0.26.2 (via the Dockerfile in the homebox folder) on port 7745 with a volume mounted at /data and /api/v1/status as the health check. The template generates HBOX_AUTH_API_KEY_PEPPER, which must never change, sets HBOX_WEB_PORT and PORT to 7745, uses SQLite (HBOX_DATABASE_DRIVER=sqlite3) by default and sets the timezone. HBOX_OPTIONS_ALLOW_REGISTRATION is true for the first signup; after you create your account, set it to false to lock registration. To use Postgres instead, set HBOX_DATABASE_DRIVER=postgres and the HBOX_DATABASE_HOST, PORT, USERNAME, PASSWORD and DATABASE variables from the Postgres service.
Common Use Cases
- Catalog household belongings, warranties and receipts
- Track assets and where each item is stored
- Keep a private inventory for insurance or moving
Dependencies for Homebox Hosting
- ghcr.io/sysadminsmedia/homebox:0.26.2 container image (built from the Dockerfile in the homebox folder)
- A Railway volume mounted at /data
- Optional: a Railway Postgres service
Implementation Details
Required variables:
- HBOX_WEB_PORT / PORT = 7745
- HBOX_AUTH_API_KEY_PEPPER = ${{secret(32)}} (must never change)
- HBOX_OPTIONS_ALLOW_REGISTRATION = true for first signup, then set false
- HBOX_DATABASE_DRIVER = sqlite3 (or postgres)
- TZ = America/New_York
Health check path: /api/v1/status
Why Deploy Homebox 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 Homebox 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
railway-templates
prime3679/railway-templates