Docker-compose not working
I had to fix the docker-compose-example to:
redash:
image: redash/redash
ports:
- "5000:5000"
links:
- redis
- postgres
environment:
REDASH_STATIC_ASSETS_PATH: "../rd_ui/app/"
REDASH_LOG_LEVEL: "INFO"
REDASH_REDIS_URL: "redis://redis:6379/0"
REDASH_DATABASE_URL: "postgresql://postgres:postgres@postgres:5432/postgres"
REDASH_COOKIE_SECRET: "veryverysecret"
REDASH_GOOGLE_APPS_DOMAIN: "aa"
redis:
image: redis:2.8
ports:
- "6379:6379"
postgres:
image: postgres:9.3
ports:
- "5234:5234"
volumes:
- /opt/postgres-data:/var/lib/postgresql/data
redash-nginx:
image: redash/nginx
ports:
- "80:80"
links:
- redash
When it start to conect everything, I got this two erros:


I think some create database command is missing on docker creation.
I am also facing this exact problem.
Can anyone help?
:(
The first problem happens because you set the assets path to rd_ui/app which doesn't exist in the Docker image. Just remove the REDASH_STATIC_ASSETS_PATH env variable from the Docker compose file.
As for the database, you need to create it. Try using this script: https://github.com/getredash/redash/blob/master/setup/docker/create_database.sh. It wasn't tested enough yet, but should work.
Hi!
Taking about the missing index template:
redash:
image: redash/redash
ports:
- "5000:5000"
links:
- redis
- postgres
environment:
REDASH_LOG_LEVEL: "INFO"
REDASH_REDIS_URL: "redis://redis:6379/0"
REDASH_DATABASE_URL: "postgresql://postgres:postgres@postgres:5432/postgres"
REDASH_COOKIE_SECRET: "veryverysecret"
REDASH_GOOGLE_APPS_DOMAIN: "aa"
I'm still getting same error:

My bad, you should keep that env variable but set it to:
REDASH_STATIC_ASSETS_PATH: "../rd_ui/dist/"
#911 should solve this (along with the recent commits fixing docker-compose-example.yml)
#911 merged, closing this one.