Created
August 25, 2018 02:22
-
-
Save thenets/0e010ad51fd1cfe2f12775fc46b62d95 to your computer and use it in GitHub Desktop.
Redash 4.0.1 - Docker Compose file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
server: | |
image: redash/redash:4.0.1.b4038 | |
command: server | |
depends_on: | |
- postgres | |
- redis | |
ports: | |
- "5000:5000" | |
environment: | |
PYTHONUNBUFFERED: 0 | |
REDASH_LOG_LEVEL: "INFO" | |
REDASH_REDIS_URL: "redis://redis:6379/0" | |
REDASH_DATABASE_URL: "postgresql://postgres@postgres/postgres" | |
REDASH_COOKIE_SECRET: veryverysecret | |
REDASH_WEB_WORKERS: 4 | |
restart: always | |
worker: | |
image: redash/redash:4.0.1.b4038 | |
command: scheduler | |
environment: | |
PYTHONUNBUFFERED: 0 | |
REDASH_LOG_LEVEL: "INFO" | |
REDASH_REDIS_URL: "redis://redis:6379/0" | |
REDASH_DATABASE_URL: "postgresql://postgres@postgres/postgres" | |
QUEUES: "queries,scheduled_queries,celery" | |
WORKERS_COUNT: 2 | |
restart: always | |
redis: | |
image: redis:3.0-alpine | |
restart: always | |
postgres: | |
image: postgres:9.5.6-alpine | |
volumes: | |
- /opt/redash-postgres:/var/lib/postgresql/data | |
restart: always | |
nginx: | |
image: redash/nginx:latest | |
ports: | |
- "80:80" | |
depends_on: | |
- server | |
links: | |
- server:redash | |
restart: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Script to automate install Redash and expose to port 80: