comply icon indicating copy to clipboard operation
comply copied to clipboard

Docker - Environment variables not read

Open brdlyptrs opened this issue 3 years ago • 2 comments

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.

brdlyptrs avatar Nov 02 '21 23:11 brdlyptrs

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.

wallrony avatar May 30 '22 17:05 wallrony

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

brdlyptrs avatar Jun 23 '22 23:06 brdlyptrs