Self-host Redash on a VPS

Connect data sources, write SQL and build shareable dashboards. Runs the Redash web server, a query worker and a scheduler with a bundled PostgreSQL and Redis, persistent volumes and generated secrets. Create the first admin account on first visit.

levelrail-cli templates deploy redash --name my-redash

Specification

Status
Listed
Category
Analytics
Services
postgres, redash, redis, scheduler, worker
Ports
5000
Volumes
2
Memory
about 2 GiB
arm64
unknown
amd64
unknown
Settings to fill in
none
Listing
Community template

About Redash

Connect data sources, write SQL and build shareable dashboards. Runs the Redash web server, a query worker and a scheduler with a bundled PostgreSQL and Redis, persistent volumes and generated secrets. Create the first admin account on first visit.

What it deploys

Redash runs as 5 services in a single Compose app, listening on port 5000, with 2 named volume mounts.

ServiceImageTagPortsVolumes
postgres postgres 17.11-alpine none redash_pgdata -> /var/lib/postgresql/data
redash redash/redash 25.8.0 5000 none
redis redis 7.4.5 none redash_redis -> /data
scheduler redash/redash 25.8.0 none none
worker redash/redash 25.8.0 none none

Before you install

  • CPU architecture. arm64 unknown. The scan could not read a manifest or the tag is chosen at install time. This is not a claim either way.
  • Listed. It is in the catalog. Back up the data volume before changing an image tag.

Settings and environment

You do not have to fill in anything. 10 secrets are generated at deploy and stored encrypted. Values are never shown here.

ServiceVariableValue
postgresPOSTGRES_DBPreset by the template
postgresPOSTGRES_PASSWORDGenerated at deploy
postgresPOSTGRES_USERPreset by the template
redashREDASH_COOKIE_SECRETGenerated at deploy
redashREDASH_DATABASE_URLGenerated at deploy
redashREDASH_REDIS_URLPreset by the template
redashREDASH_SECRET_KEYGenerated at deploy
redashREDASH_WEB_WORKERSPreset by the template
schedulerQUEUESPreset by the template
schedulerREDASH_COOKIE_SECRETGenerated at deploy
schedulerREDASH_DATABASE_URLGenerated at deploy
schedulerREDASH_REDIS_URLPreset by the template
schedulerREDASH_SECRET_KEYGenerated at deploy
schedulerWORKERS_COUNTPreset by the template
workerQUEUESPreset by the template
workerREDASH_COOKIE_SECRETGenerated at deploy
workerREDASH_DATABASE_URLGenerated at deploy
workerREDASH_REDIS_URLPreset by the template
workerREDASH_SECRET_KEYGenerated at deploy
workerWORKERS_COUNTPreset by the template

First run

  1. Open the page and create the admin account in the setup form, then add a data source under Settings.

Install Redash on a VPS

  1. Install Levelrail on a fresh VPS

    Run this as root on a Linux server (amd64 or arm64) with ports 80 and 443 reachable. The installer prints a setup link.

    curl -fsSL https://levelrail.com/install.sh | sudo sh
  2. Sign in

    Open the setup link, choose a password, then log the CLI in. The CLI install command is curl -fsSL https://levelrail.com/install-cli.sh | sh if the machine does not have it. See Getting started.

    levelrail-cli login --device
  3. Read the template

    Shows the entry, including its full compose.yaml.

    levelrail-cli templates get redash
  4. Deploy it

    This deploys the template compose file as an app. The app name defaults to the template id; --name sets another.

    levelrail-cli templates deploy redash --name my-redash

Without a domain the app gets an sslip.io address. You can also deploy it from the dashboard: Apps, New app, Browse templates, then Redash.

More in Analytics

All Analytics templates