These are chat archives for getredash/redash
Rethinking how data is queried, shared and visualized. A web application that allows to easily query an existing database, share the dataset and visualize it in different ways. Oh and you can also create dashboards.
I'm trying to get redash running on docker. I have built the Dockerfile, I've changed the env. variables REDASH_REDIS_URL to redis://172.17.0.2:6379/0 and REDASH_DATABASE_URL to postgresql://172.17.0.3:5432 in docker-compose-example.yml and I've removed the nginx docker container.
When I do docker-compose up, I get the following error:
"redash_1 | [2016-02-16 17:02:55,522: ERROR/MainProcess] Task redash.tasks.refresh_queries[86f633f7-65e9-428e-b01b-0f350bd2cc70] raised unexpected: OperationalError('could not connect to server: No such file or directory\n\tIs the server running locally and accepting\n\tconnections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?\n',)."
From the redash docker container, I am able to telnet to postgres on port 5432.
I've tried to run the script "create_database.sh", hoping that it would create the necessary database and tables in postgres, but no luck. I get other issues with the python imports in manage.py.
Can anyone tell me if I am missing any step?
- redis - postgres
.envfile in the directory you built your docker image? if you have it takes precedence over the environment variables. remove it and rebuild.