Skip to content

Docker - Environment variables not read #118

@brdlyptrs

Description

@brdlyptrs

What

It seems that any environment variables set through docker are not recognized by comply. Methods tried:

  • .env file
  • setting environment variables via docker-compose environment parameter
  • pass environment variables through docker commands with -e
  • pass environment variables into docker build

Why

Currently to get comply working in docker the comply.yml is altered and then copied into the docker container. It would be better to use environment variables as indicated in the README and in general for good practice.

How

First step would be to test and confirm if the following lines are working in docker as it seems they are not picking up the environment variables set atm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions