Skip to content
This repository has been archived by the owner on Oct 18, 2019. It is now read-only.

Host's environment will override values in .env #508

Open
treygriffith opened this issue Apr 25, 2019 · 0 comments
Open

Host's environment will override values in .env #508

treygriffith opened this issue Apr 25, 2019 · 0 comments

Comments

@treygriffith
Copy link
Member

As an example, if the user has DATA_DIR set on the host machine and then tries to run docker-compose up -d on the broker, the DATA_DIR from the host machine will take precedence over any values in the .env file.

This is likely due to - DATA_DIR=${DATA_DIR:-} which is a tactic we use to suppress warnings from docker-compose (with docker-compose saying that it is setting environment variable to an empty string).

We should find ways to avoid the hosts environment from overriding these values, or at least mitigate it through namespacing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant