gutmensch / docker-dmarc-report

244 stars 27 forks source link

Enhancement: Use secrets #40

Closed awebeer256 closed 1 year ago

awebeer256 commented 1 year ago

It's not great to include your email password in your docker-compose.yml.

After a bit of reading, I wasn't able to find a way to pass a secret as an environment variable (as opposed to as a file) to just one container in a composed service.

gutmensch commented 1 year ago

@awebeer256 Sorry, but you are talking about something here that is not related to this image. docker-compose is one example to run a container, but you can use better ways/secure ways like secret injection in your scheduler, etc. pp - but it's not a job of this container image to do that or describe this for you in great detail. There is information in the Internet how to run your scheduled workloads securely and properly.