Deploy Apache Superset
Open-source BI: SQL Lab, charts and dashboards, with Postgres and Redis
Just deployed
/var/lib/postgresql/data
Redis
Just deployed
/data
Just deployed
Deploy and Host Apache Superset on Railway
Apache Superset is an open-source data exploration and business intelligence platform from the Apache Software Foundation. It connects to SQL databases and warehouses, lets you write queries in SQL Lab, build charts with a no-code editor, and combine them into interactive dashboards that your team can share, filter and drill into.
About Hosting Apache Superset
Hosting Superset means running its Python web app (Flask behind gunicorn), a PostgreSQL metadata database that stores users, database connections, datasets, charts and dashboards, and Redis for caching query results. On first start the database schema has to be migrated, an admin account created and the default roles and permissions synced. A strong secret key must be set, because Superset refuses to start with its default one and uses the key to encrypt saved database passwords. This template does all of that on start, builds Superset 6.1.0 from a pinned official image, adds PostgreSQL, MySQL and ClickHouse drivers, and serves it over HTTPS on a Railway domain.
Common Use Cases
- Self-service dashboards and reports on top of PostgreSQL, MySQL, ClickHouse or other SQL databases
- Ad-hoc SQL exploration in SQL Lab, with results turned into charts
- An open-source, self-hosted replacement for Tableau, Looker or Power BI dashboards
Dependencies for Apache Superset Hosting
- PostgreSQL (metadata database, Railway's Postgres service)
- Redis (result cache and rate-limit storage, Railway's Redis service)
Deployment Dependencies
- Apache Superset 6.1.0 release: https://github.com/apache/superset/releases/tag/6.1.0
- Official Docker image: https://hub.docker.com/r/apache/superset
- Superset documentation: https://superset.apache.org/docs/intro
- Template source: https://github.com/aalfath/apache-superset-railway-template
Implementation Details
After the deploy finishes, open the Superset service's public URL and sign in as admin with the generated ADMIN_PASSWORD from the Superset service's Variables tab. Change the password from your user profile afterwards; changing the variable later has no effect.
Keep SUPERSET_SECRET_KEY as it is: Superset encrypts saved database passwords with it.
To query your data, add a connection under Settings → Database Connections. PostgreSQL (postgresql://), MySQL or MariaDB (mysql+pymysql://) and ClickHouse (clickhousedb://) drivers are included. For a database in the same Railway project, use its private hostname, for example postgres.railway.internal.
Not included: the Celery worker and beat that Alerts & Reports, scheduled reports and async SQL Lab queries need, and example data. The template repo's README explains how to add them. The Superset service builds from the GitHub repo, so tested version updates reach you as an "update available" notice; read the repo's CHANGELOG before applying one, as Superset migrates its database on start.
Why Deploy Apache Superset 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 Apache Superset 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

