Metabase on Railway
Open-source BI for dashboards, SQL and no-code questions on your own databases, on Railway.
Metabase is an open-source business intelligence tool. You connect your databases, then build dashboards, saved questions and charts either with a no-code query builder or in a SQL editor. It supports scheduled subscriptions and alerts, and charts can be embedded in other tools.
It is often compared with Looker, Tableau and Power BI; the usual difference is that the open-source edition can be self-hosted and is aimed at self-service use by non-analysts as well as analysts.
The open-source edition is licensed AGPL-3.0; paid editions add further features.
What Metabase can do
- No-code question builder and SQL editor
- Dashboards with filters
- Subscriptions and alerts by email or Slack
- Connections to many databases
- Embedding of charts and dashboards
- Sample database for a first look
What people use it for
- Self-service dashboards on top of existing databases
- A SQL editor and saved questions for analysts
- Scheduled dashboard subscriptions and alerts
- Embedding charts in internal tools
Videos
Running Metabase on Railway
The template deploys Metabase v0.65.4.4 (open-source edition) with a launcher that sizes the Java heap from the memory limit, and Postgres 18 on a volume as the application database. The administrator is created on first start and a data-source encryption key is generated. Memory is the main cost driver: Metabase used nearly the whole 1 GB limit on Trial and idled at about 1.6 GB on Hobby, and Postgres idled at about 0.1 to 0.2 GB.
Metabase templates on Railway
Tracklayer templates are listed first. Other Metabase templates follow, ordered by total deployments on Railway. How this works.
Deployment numbers as of 2026-11-20.
Questions about Metabase
How do I log in?
Wait 2 to 5 minutes for the first start, then sign in with METABASE_ADMIN_EMAIL and METABASE_ADMIN_PASSWORD from the Metabase service variables. Set your own email before deploying.
Which Railway plan do I need?
The Free plan's 0.5 GB per service is not enough. Trial's 1 GB works for light use only; Hobby or Pro is recommended for teams.
Can it send email alerts?
Subscriptions and alerts need SMTP configured under Admin settings. Railway allows outbound SMTP on the Pro plan only.
What happens if I lose the encryption key?
MB_ENCRYPTION_SECRET_KEY encrypts connected-database credentials. If it changes, saved connections must be re-entered, so keep it.
How do I upgrade?
Back up Postgres, read the release notes, change the tag in the service Dockerfile and redeploy. Metabase migrates its database on start and does not support downgrades.
Guides
Similar apps
Tracklayer maintains the templates marked as such; Metabase is a trademark of its owners and this site is not affiliated with them.