Self-host Redash with Levelrail

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.

  • Authorgetredash
  • LicenceBSD-2-Clause
  • Memory2 GiB
  • Services5

How to self-host Redash

  1. Pull the images

    5 images are pulled on your server.

    Show images
    • postgres:17.11-alpine
    • redash/redash:25.8.0
    • redis:7.4.5
    • redash/redash:25.8.0
    • redash/redash:25.8.0
  2. Create the app

    5 services start in a single Compose app, with 2 named volume mounts for your data, on port 5000.

  3. Fill in the secrets

    10 secrets are generated and stored encrypted, 10 settings are preset, you do not have to fill in anything.

  4. Open it

    Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.

After the first start

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

Redash requirements

Memory
About 2 GiB
Architectures
amd64 unknown, arm64 unknown
Ports
5000
Domain
Optional, an sslip.io address is used without one
Settings
none to fill in
License
BSD-2-Clause, permissive license
  • Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.

Install Levelrail first

On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Redash. New to Levelrail? Install it on a fresh VPS first.

docker pull ghcr.io/glincker/levelrail:latest

Then levelrail-cli login --device. See Getting started and the Redash docs page.

Deploy Redash your way

Every format below deploys the same pinned images. Pick the one that fits how you work.

Deploy Redash from the CLI

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

Deploy Redash with the API

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/redash/deploy

Redash configuration

Redash services

ServiceImagePortsVolumes
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

Redash environment variables

VariableServiceValue
POSTGRES_DB postgres Preset by the template
POSTGRES_PASSWORD postgres Generated at deploy
POSTGRES_USER postgres Preset by the template
REDASH_COOKIE_SECRET redash Generated at deploy
REDASH_DATABASE_URL redash Generated at deploy
REDASH_REDIS_URL redash Preset by the template
REDASH_SECRET_KEY redash Generated at deploy
REDASH_WEB_WORKERS redash Preset by the template
Show all 20 variables
  • QUEUESschedulerPreset by the template
  • REDASH_COOKIE_SECRETschedulerGenerated at deploy
  • REDASH_DATABASE_URLschedulerGenerated at deploy
  • REDASH_REDIS_URLschedulerPreset by the template
  • REDASH_SECRET_KEYschedulerGenerated at deploy
  • WORKERS_COUNTschedulerPreset by the template
  • QUEUESworkerPreset by the template
  • REDASH_COOKIE_SECRETworkerGenerated at deploy
  • REDASH_DATABASE_URLworkerGenerated at deploy
  • REDASH_REDIS_URLworkerPreset by the template
  • REDASH_SECRET_KEYworkerGenerated at deploy
  • WORKERS_COUNTworkerPreset by the template

Ports and volumes

Ports
5000
Volumes
2 named mounts: redash_pgdata -> /var/lib/postgresql/data, redash_redis -> /data

Redash FAQ

How much memory does Redash need?

The catalog lists about 2 GiB of memory for Redash across its 5 services.

Does Redash run on arm64?

For Redash, arm64 support is not confirmed; amd64 is unknown.

What licence is Redash under?

Redash is licensed under BSD-2-Clause, which is permissive, with few conditions on reuse.

Does Redash need configuration before it starts?

No. The template fills in its own defaults and generates secrets at deploy time.

Which database does Redash bundle?

The template includes Postgres and Redis, running as its own service.

Which ports does Redash use?

Redash listens on port 5000 inside the stack.

Where does Redash keep its data?

In named volumes: redash_pgdata mounted at /var/lib/postgresql/data and redash_redis mounted at /data.

Can I deploy Redash on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list we compared does not have an entry with the same id for Redash, so on Dokploy you would use a Docker Compose application with the file from this page. Dokku deploys container images with its own commands, so the pinned image postgres:17.11-alpine, redash/redash:25.8.0, redis:7.4.5, redash/redash:25.8.0, redash/redash:25.8.0 is what you deploy there.

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