Back to all templates
Redash logo

Redash

Application1024MB+ RAM

Query, visualize, and share data

analyticsbisqldashboards

Deploy Redash in 3 Steps

1

Connect Your VPS

Add your server credentials to Server Compass

2

Select Redash

Choose from our template library

3

Deploy & Configure

Fill in settings and click Deploy

No Docker knowledge required
Step-by-step deployment guide

Deploy Redash on a VPS with Server Compass

Use the Redash template in Server Compass to deploy a self-hosted business intelligence and analytics platform with PostgreSQL metadata storage on your VPS, then verify the Redash web UI in a browser.

About 7 minutesBrowser verified
1
Step 1

Open the server Apps tab

Select your VPS, open the Apps tab, and start a new app deployment. Keep sensitive server details hidden before capturing or sharing screenshots.

Server Compass Apps tab before creating a Redash app
2
Step 2

Choose an app template

Click New App and choose the template deployment path so Server Compass can load the built-in catalog.

Choosing to deploy an app from a Server Compass template
3
Step 3

Search for Redash

Use the template picker search to find Redash in the Server Compass template catalog.

Searching for Redash in the Server Compass template picker
4
Step 4

Select the Redash template

Choose the Redash template. Server Compass fills in the Redash web service, PostgreSQL metadata database, generated database password, and mapped browser port.

Redash template selected in Server Compass
5
Step 5

Review the Redash settings

Confirm the app name and compose services. In this run, the app was named redash-demo and used host port 5000.

Reviewing Redash project settings and compose services
6
Step 6

Deploy Redash

Review the generated environment values, confirm the port is available, and click Deploy Now.

Reviewing Redash environment variables and port before deployment
7
Step 7

Watch the deployment progress

Keep the deployment modal open while Server Compass uploads the compose file, pulls the Redash image, starts the container, and verifies the stack.

Server Compass deploying the Redash template on the VPS
8
Step 8

Confirm Redash is running

After deployment finishes, return to the Apps tab and confirm the Redash app is marked Running with its application URL available.

Redash template running in the Server Compass Apps tab
9
Step 9

Open Redash in the browser

Open the application URL in a browser. The Redash setup page confirms the analytics app is reachable after the template initializes the metadata database.

The deployed Redash web UI loaded in a browser

After Redash Opens

  • Create the first admin account from the Redash setup page, then invite named users for production access.
  • Configure HTTPS, database access, backups, workers, and permissions before inviting users.
  • Back up the Redash PostgreSQL metadata volume before relying on saved dashboards or questions.

Verified Result

The Redash web UI loaded successfully in a browser.

Redash deployment questions

What does the Redash template deploy?

It deploys Redash with PostgreSQL metadata storage, Redis, a web server, a scheduler, and query workers.

Which port did the tutorial use?

The tutorial used host port 5000, which maps to the Redash web service on container port 5000.

Why does the guide stop at the setup web UI?

The template runs the Redash metadata bootstrap automatically. The tutorial stops at the clean setup page because admin creation, data source connections, schedules, and permissions depend on the production instance.

Should this become a blog post?

No. The deployment guide should live on the Redash template detail page and be linked from the reusable template deployment docs page.

Command Line Setup

Install Redash Manually

Set up Redash yourself using Docker Compose and the command line.

1

Remote into Your Server

Initiate a secure shell connection to your server using the command below.

terminal
# Connect to your VPS
ssh root@your-server-ip

# Or with a specific SSH key
ssh -i ~/.ssh/your-key root@your-server-ip

First time? Docker required! Install it with: curl -fsSL https://get.docker.com | sh

2

Create the App Directory

Organize your deployment by creating a dedicated project folder.

terminal
# Create and navigate to project directory
mkdir -p ~/apps/redash
cd ~/apps/redash
3

Write Your docker-compose.yml

Create a new docker-compose.yml file and paste this configuration:

docker-compose.yml
services:
  redash:
    image: redash/redash:latest
    ports:
      - "5000:5000"
    command: server
    environment:
      - REDASH_DATABASE_URL=postgresql://redash:<your-db-password>@db:5432/redash
      - REDASH_REDIS_URL=redis://redis:6379/0
      - REDASH_SECRET_KEY=<your-secret-key>
      - REDASH_COOKIE_SECRET=<your-cookie-secret>
    restart: unless-stopped
    depends_on:
      - db
      - redis

  scheduler:
    image: redash/redash:latest
    command: scheduler
    environment:
      - REDASH_DATABASE_URL=postgresql://redash:<your-db-password>@db:5432/redash
      - REDASH_REDIS_URL=redis://redis:6379/0
    restart: unless-stopped
    depends_on:
      - db
      - redis

  worker:
    image: redash/redash:latest
    command: worker
    environment:
      - REDASH_DATABASE_URL=postgresql://redash:<your-db-password>@db:5432/redash
      - REDASH_REDIS_URL=redis://redis:6379/0
      - QUEUES=queries,scheduled_queries,celery
      - WORKERS_COUNT=2
    restart: unless-stopped
    depends_on:
      - db
      - redis

  db:
    image: postgres:16-alpine
    environment:
      - POSTGRES_USER=redash
      - POSTGRES_PASSWORD=<your-db-password>
      - POSTGRES_DB=redash
    volumes:
      - postgres_data:/var/lib/postgresql/data
    restart: unless-stopped

  redis:
    image: redis:7-alpine
    restart: unless-stopped

volumes:
  postgres_data:
Configuration Options
PORTHost port(default: 5000)
SECRET_KEYSecret key
COOKIE_SECRETCookie secret
DB_PASSWORDDB password
4

Launch the Containers

Start the services and tail the logs to verify startup.

terminal
# Spin up containers
docker compose up -d

# Verify deployment
docker compose ps

# Check logs for errors
docker compose logs -f
5

Open Firewall Ports

Open the required port in your firewall to allow access.

terminal
# Allow the application port through firewall
sudo ufw allow 5000/tcp
sudo ufw reload

# Access your app at:
# http://your-server-ip:5000
Skip the Terminal

Want the easy way? Try Server Compass.

No terminal needed. Deploy Redash through a visual dashboard with automatic configuration.

  • Visual config editor
  • Instant deployment
  • Automatic HTTPS
  • Smooth updates
  • Live monitoring
  • Quick rollbacks
Download Server Compass$29 one-time • Lifetime license

After Deployment

After deploying Redash with Server Compass, complete these steps to finish setup

1

Create database: docker compose run redash create_db

2

Create admin user

3

Add data sources

Need help? Check out our documentation for detailed guides.

Redash FAQ

Common questions about self-hosting Redash

How do I deploy Redash with Server Compass?

Simply download Server Compass, connect to your VPS, and select Redash from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.

What are the system requirements for Redash?

Redash requires a minimum of 1024MB RAM. We recommend a VPS with at least 2048MB RAM for optimal performance. Any modern Linux server with Docker support will work.

Can I migrate my existing Redash data?

Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard Redash backup and restore procedures.

How do I update Redash to the latest version?

Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest Redash image will be pulled and deployed with zero downtime.

Is Redash free to self-host?

Redash is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.

Ready to Self-Host Redash?

Download Server Compass and deploy Redash to your VPS in under 3 minutes. No Docker expertise required.

Download Server Compass