Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

entrypoint: add docker secret friendly _FILE options #519

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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