Deploy Chartbrew
Chartbrew 5.3: dashboards and charts from your databases and APIs.
Just deployed
Redis
Just deployed
/data
Just deployed
/var/lib/postgresql/data
Just deployed
Deploy and Host Chartbrew on Railway
Chartbrew builds live dashboards and charts from your databases and APIs. It connects to PostgreSQL, MySQL, MongoDB, Firestore, REST APIs and services like Stripe or Google Analytics, lets you query them with a visual builder or SQL, and shares dashboards publicly, by link or embedded in other sites.
About Hosting Chartbrew
This template runs the official razvanilin/chartbrew:5.3.2 image as two services, the API and the web app, so each gets its own domain, plus Railway PostgreSQL and Redis. The owner account is created on first boot from the variables and further sign-ups are refused. The web service builds the interface at startup with the API's public URL, which takes about a minute. Chart data refreshes run as background jobs in Redis. Dashboards and connections live in Postgres, and credentials for data sources are encrypted with a generated key. Plan on about 1 GB of memory across services. Chartbrew is licensed under FSL-1.1-MIT.
Common Use Cases
- Business dashboards from your production database
- Client reports shared by link or embedded in a portal
- Combining Stripe, analytics and database metrics on one page
Dependencies for Chartbrew Hosting
razvanilin/chartbrew:5.3.2(official image, used for api and web)- Railway PostgreSQL
- Railway Redis
Deployment Dependencies
Implementation Details
| Service | Source | Networking | Storage |
|---|---|---|---|
| api | razvanilin/chartbrew:5.3.2 | public domain on 4019 | none |
| web | razvanilin/chartbrew:5.3.2 | public domain on 4018 | none |
| Postgres | Railway PostgreSQL | private | Railway volume |
| Redis | Railway Redis | private | Railway volume |
| Variable | Default | Purpose |
|---|---|---|
CHARTBREW_ADMIN_EMAIL | admin@example.com | Owner account (first boot only) |
CHARTBREW_ADMIN_PASSWORD | generated | Its password |
CB_RESTRICT_SIGNUP | 1 | Only the first account may sign up |
CB_ENCRYPTION_KEY | generated | Encrypts data-source credentials |
VITE_APP_API_HOST | https://${{api.RAILWAY_PUBLIC_DOMAIN}} | API URL built into the web app |
Notes:
- Invite teammates from Team settings; they join without open sign-up.
- Use private hostnames such as
postgres.railway.internalfor data sources in the same project.
This is a community-maintained deployment package and does not imply affiliation with or endorsement by Chartbrew or its maintainers.
Why Deploy Chartbrew 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 Chartbrew 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
