-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
environment variable name 'ENV MB_DB_TYPE' may not contain whitespace #1
Comments
On checking the logs, I found that there is a problems with the postgres connection on 54320 port and because of this I am getting connection refused. |
@rbashish what did you do to resolve the issue? |
@bbarman4u see #2 |
There seems to be a change in how env files are read in docker-compose 1.24.0 as opposed to <1.24.0 according to docker/compose#6951. Removing 'ENV' messes things up. Maybe someone can look at updating this to work with docker-compose >=1.24.0 |
@rbashish , @bbarman4u, looks like the issue you were facing was coming from not using a fully qualified hostname as specified in the metabase docker docs Could you try with the actual host of the server. Localhost may not work as expected. |
Closing issue due to inactivity |
Running
sudo docker-compose up -d
after filling in the default .env file values produces the following error:$ sudo docker-compose up -d
ERROR: In file /Users/<user>/compose-postgres-metabase/config/metabase_database.env: environment variable name 'ENV MB_DB_TYPE' may not contain whitespace.
Removing
ENV
from the vars in config/metabase_database.env appears to resolve this.The text was updated successfully, but these errors were encountered: