emails-html-to-pdf icon indicating copy to clipboard operation
emails-html-to-pdf copied to clipboard

Email Creds in Plain Text

Open smseidl opened this issue 3 years ago • 2 comments

Is there anyway to protect the email creds more instead of having them in plain text in the docker-compose file? Would this be able to inherit the paperless email setup?

smseidl avatar Sep 16 '21 12:09 smseidl

Thanks for taking the time to provide some feedback. I absolutely understand your issue.

A few short term solutions might be (do either of these suit your needs?):

  1. Use docker secrets: https://docs.docker.com/engine/swarm/secrets/
  2. Use a .env file. Here is an example of how calendso does it: https://github.com/calendso/docker/blob/main/.env

In the long term it may be possible to inherit from paperless. But this would probably require more engineering effort (might be feasible, but probably a bit complicated accessing databases etc, happy to be corrected here).

rob-luke avatar Sep 17 '21 02:09 rob-luke

I will review those options in the next week and update here.

smseidl avatar Sep 17 '21 12:09 smseidl