Skip to content

entrypoint: add docker secret friendly _FILE options#519

Open
andwei wants to merge 1 commit intoONLYOFFICE:masterfrom
andwei:docker_secrets
Open

entrypoint: add docker secret friendly _FILE options#519
andwei wants to merge 1 commit intoONLYOFFICE:masterfrom
andwei:docker_secrets

Conversation

@andwei
Copy link

@andwei andwei commented Oct 21, 2022

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

@CLAassistant
Copy link

CLAassistant commented Oct 21, 2022

CLA assistant check
All committers have signed the CLA.

to prevent having to define secrets in docker compose file when using
docker stack, add a _FILE option for sensitive information so that
docker secrets may be used; update README accordingly
@cirune
Copy link

cirune commented Nov 11, 2022

Yes please. Thank you for creating this commit!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants