Issue Summary

Hello,
Can you give me a hint how to pass configuration (i.e. environment variables) to a Redash v9 instance pulled from Docker Hub? I’d like to change the REDASH_REDIS_URL and REDASH_DATABASE_URL. Should I rebuild the container (docker-compose up -d) to change these settings or there are other means? It seems that no file or directory is mounted from host filesystem.

Technical details:

  • Redash Version: v9-beta
  • Browser/OS: CentOS 8
  • How did you install Redash: Docker

You may modify the env file by enter into docker container of redash_server, but it’s not a good way.

The right way to do it is add key-value-pairs under the environment key in your docker-compose.yml file. Redash uses composition for this:

So you can add them under x-redash-environment.

I suspected that. Thanks!