Where is /opt/redash/env in Dockerized Redash

Issue Summary

TL;DR I cannot find the redash folder under my Redash Docker container’s opt directory.

I have successfully gotten Redash up + running on Docker. Now, I need to set up HTTPS and configure the mail service, both of which require editing the /opt/redash/env file, per the instructions here and here.

My steps:

  1. Get the CONTAINER_ID of redash-test_server
  2. docker exec -t <CONTAINER_ID> /bin/bash
  3. cd /opt/ → The only subfolders here are microsoft and simba

Where else should I look for this redash/env file?

Technical details:

  • Redash Version: Commit 7cac149cef70263b328049cb376c7f25f7b03efb in getredash/redash repo
  • Browser/OS: Ubuntu 18.04.1 LTS (GNU/Linux 5.4.0-1061-azure x86_64)
  • How did you install Redash: Docker
1 Like

As a thought, generally (!) when people are installing using Docker they’re using the (Ubuntu based) setup script:

When using that script, it creates an /opt/redash directory on the host (not inside the docker container), with an env file inside that directory containing the settings/values.

So, the references to /opt/redash/env that you’ve seen are most likely talking about the env file from that scripted setup.


Thank you for the help and the links! That all makes sense.

1 Like