Deploy Apache Superset + Postgres/Redis
Apache Superset BI with Postgres, Redis, and persistent volumes.
postgres
Just deployed
/var/lib/postgresql/data
redis
Just deployed
/data
superset
Just deployed
/app/superset_home
Deploy and Host Apache Superset + Postgres/Redis on Railway
Self-host Apache Superset, an open-source Tableau alternative, with Postgres metadata storage, Redis cache, persistent volumes, and generated admin credentials.
About Hosting Apache Superset + Postgres/Redis on Railway
superset: public Superset web service with Gunicorn on port8088postgres: private metadata databaseredis: private cache service- Generated secret key, admin password, database password, and Redis password
/healthhealthcheck- No example-data bloat by default
Why Deploy Apache Superset + Postgres/Redis on Railway
The source and published-template validation completed on 2026-05-23, and cleanup removed the source/test projects after verification. The template avoids SQLite metadata storage and keeps Postgres/Redis private.
Common Use Cases
- Internal BI dashboards
- SQL exploration
- Lightweight open-source Tableau/Looker evaluation
- Teams that want a persistent Superset metadata database on Railway
Dependencies for Apache Superset + Postgres/Redis Hosting
Superset depends on Postgres for metadata, Redis for cache, a generated secret key, a generated admin account, and persistent writable paths for the app and cache service.
Deployment Dependencies
SUPERSET_SECRET_KEY: generated Superset secretSUPERSET_ADMIN_USERNAME: initial admin usernameSUPERSET_ADMIN_PASSWORD: generated initial admin passwordDATABASE_URL: private Postgres metadata connectionREDIS_URL: private Redis cache connectionPORT: Railway public routing port for Superset
After Deploy
- Open the Superset public URL.
- Sign in with the generated admin credentials.
- Add database connections from inside Superset.
- Keep Postgres and Redis private.
Support Checklist
If a deploy fails, include superset, postgres, and redis deployment IDs, /health output, and logs mentioning migrations, secret key, or admin bootstrap.
Template Content
postgres
postgres:17-alpinePGDATA
POSTGRES_DB
POSTGRES_USER
POSTGRES_PASSWORD
redis
redis:7-alpineREDIS_PASSWORD
RAILWAY_RUN_UID
superset
apache/superset:5.0.0-devPORT
REDIS_HOST
REDIS_PORT
DATABASE_DB
FLASK_DEBUG
SUPERSET_ENV
DATABASE_HOST
DATABASE_PORT
DATABASE_USER
REDIS_CACHE_DB
REDIS_PASSWORD
RAILWAY_RUN_UID
REDIS_CELERY_DB
DATABASE_DIALECT
PYTHONUNBUFFERED
REDIS_RESULTS_DB
DATABASE_PASSWORD
SUPERSET_SECRET_KEY
SUPERSET_ADMIN_EMAIL
SUPERSET_CONFIG_PATH
SUPERSET_LOAD_EXAMPLES
SUPERSET_ADMIN_LASTNAME
SUPERSET_ADMIN_PASSWORD
SUPERSET_ADMIN_USERNAME
SUPERSET_ADMIN_FIRSTNAME
SUPERSET_WEBSERVER_TIMEOUT
SUPERSET_WEBSERVER_WORKERS
