Redash
Connect to any data source, easily visualize, dashboard and share your data.
Directory Structure
- .env
- docker-compose.yml
docker-compose.yml
version: '3.9'
x-redash-service: &redash-service
image: redash/redash:__TAG__
depends_on:
- postgres
- redis
env_file: /opt/redash/env
restart: always
services:
server:
<<: *redash-service
command: server
ports:
- "__PORT__:5000"
environment:
REDASH_WEB_WORKERS: 4
scheduler:
<<: *redash-service
command: scheduler
depends_on:
- server
scheduled_worker:
<<: *redash-service
command: worker
depends_on:
- server
environment:
QUEUES: "scheduled_queries,schemas"
WORKERS_COUNT: 1
adhoc_worker:
<<: *redash-service
command: worker
depends_on:
- server
environment:
QUEUES: "queries"
WORKERS_COUNT: 2
redis:
image: redis:7-alpine
restart: unless-stopped
postgres:
image: pgautoupgrade/pgautoupgrade:latest
env_file: /opt/redash/env
volumes:
- /opt/redash/postgres-data:/var/lib/postgresql/data
restart: unless-stopped
nginx:
image: redash/nginx:latest
ports:
- "80:80"
depends_on:
- server
links:
- server:redash
restart: always
worker:
<<: *redash-service
command: worker
environment:
QUEUES: "periodic,emails,default"
WORKERS_COUNT: 1Resources
Website: https://redash.io/
GitHub: https://github.com/getredash/redash
Docker Hub: https://hub.docker.com/r/redash/redash
Configuration: https://redash.io/help/open-source/setup/#docker