Skip to content
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

Docker - Environment variables not read #118

Open
brdlyptrs opened this issue Nov 2, 2021 · 2 comments
Open

Docker - Environment variables not read #118

brdlyptrs opened this issue Nov 2, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@brdlyptrs
Copy link

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.

@camposer camposer added the enhancement New feature or request label Nov 5, 2021
@wallrony
Copy link
Contributor

Hey @brdlyptrs!

We tested it locally, via Docker and via Homebrew installer, and couldn't reproduce this error, it worked fine in all scenarios. Please try to update your Comply Image and try again. After that, please give some feedback.

@brdlyptrs
Copy link
Author

Hi @wallrony I'll try again, thank you for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants