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

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

@treygriffith

Description

@treygriffith

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions