Docker-DocumentServer icon indicating copy to clipboard operation
Docker-DocumentServer copied to clipboard

entrypoint: add docker secret friendly _FILE options

Open andwei opened this issue 2 years ago • 2 comments

Hi, I was deploying the onlyoffice documentserver community edition using docker swarm and thought it would be nice to be able to use docker secrets to avoid putting JWT_SECRET or DB_PWD as environment variables into the compose file. This adds the ability to specify a file, e.g. created from a docker secret, to use as a secret (similar to what mariadb and many other containers do).

Kind regards, Andreas

andwei avatar Oct 21 '22 23:10 andwei

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Oct 21 '22 23:10 CLAassistant

Yes please. Thank you for creating this commit!

cirune avatar Nov 11 '22 22:11 cirune