
Deploy Redash on Your Own Server
Connect to any data source, easily visualize and share your data
Want to deploy Redash on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.
What is Redash?
Redash helps you make sense of your data. Connect and query your data sources, build dashboards to visualize data and share them with your company. **You will need access to your server via SSH to perform a command after deployment. This needs to be done only once.**
Self-Host Redash
Follow these steps to deploy on your own server.
Install Docker
Skip this step if Docker is already installed on your server.
curl -fsSL https://get.docker.com | sh
Configure
Customize the settings below. Defaults work for most cases.
Application
Queue
Database
Deploy
Copy the configuration and run it on your server.
services:
redash:
environment:
REDASH_COOKIE_SECRET: 932170b49c750b9e8a3dbfe160b03cbaba8460236ed8a813423bab3633f9bbbb
REDASH_DATABASE_URL: postgresql://redash:bdf79ed11c0a4f65@redash-db/redash
REDASH_HOST: http://redash.your-domain.com
REDASH_MAIL_DEFAULT_SENDER: ""
REDASH_MAIL_PASSWORD: ""
REDASH_MAIL_PORT: "25"
REDASH_MAIL_SERVER: ""
REDASH_MAIL_USERNAME: ""
REDASH_MAIL_USE_SSL: "false"
REDASH_MAIL_USE_TLS: "false"
REDASH_REDIS_URL: redis://redash-queue
REDASH_SECRET_KEY: 7d513525e9e6c7452425a6216325653f4e80fc4af4822a3430f5b67ee8700129
REDASH_WEB_WORKERS: "4"
depends_on:
- redash-db
- redash-queue
redash-adhoc-worker:
environment:
QUEUES: queries
REDASH_COOKIE_SECRET: 932170b49c750b9e8a3dbfe160b03cbaba8460236ed8a813423bab3633f9bbbb
REDASH_REDIS_URL: redis://redash-queue
WORKERS_COUNT: "2"
depends_on:
- redash-db
- redash-queue
redash-db:
image: postgres:15.0-alpine
environment:
POSTGRES_DB: redash
POSTGRES_PASSWORD: bdf79ed11c0a4f65
POSTGRES_USER: redash
volumes:
- redash-db:/var/lib/postgresql/data
redash-queue:
image: redis:7.0-alpine
redash-scheduled-worker:
environment:
QUEUES: scheduled_queries,schemas
REDASH_COOKIE_SECRET: 932170b49c750b9e8a3dbfe160b03cbaba8460236ed8a813423bab3633f9bbbb
REDASH_REDIS_URL: redis://redash-queue
WORKERS_COUNT: "1"
depends_on:
- redash-db
- redash-queue
redash-scheduler:
environment:
QUEUES: celery
REDASH_COOKIE_SECRET: 932170b49c750b9e8a3dbfe160b03cbaba8460236ed8a813423bab3633f9bbbb
REDASH_REDIS_URL: redis://redash-queue
WORKERS_COUNT: "1"
depends_on:
- redash-db
- redash-queue
volumes:
redash-db: {}
Then run:
docker compose up -d
Access
Once started, access your app at http://localhost:5000
Why Self-Host Redash?
Full Data Ownership
Your data stays on your servers. No third-party access.
No Monthly Fees
Pay only for your server. No per-seat or usage charges.
Complete Control
Customize, backup, and scale on your own terms.
Privacy & Compliance
Meet GDPR, HIPAA, or internal security requirements.
Technical Details
Want to go faster?
Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.
Install on any Linux server:
sh -c "$(curl -sSL https://get.senate.sh)"