comply
comply copied to clipboard
Docker - Environment variables not read
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.
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.
Hi @wallrony I'll try again, thank you for the update!