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

Need to improve docker image for passing envs through files #175

Open
AlekNS opened this issue Jun 15, 2018 · 0 comments
Open

Need to improve docker image for passing envs through files #175

AlekNS opened this issue Jun 15, 2018 · 0 comments
Assignees

Comments

@AlekNS
Copy link
Contributor

AlekNS commented Jun 15, 2018

Docker has ability to use "secrets", for an example it could be using for AUTH_JWT env. But docker mount secrets as files. That's why need to use suffix _FILE (for env below it will be AUTH_JWT_FILE). An entrypoint script parse envs and detects _FILE prefix in name, read pointed file and export new env without _FILE suffix.

@AlekNS AlekNS self-assigned this Jun 19, 2018
hlogeon pushed a commit that referenced this issue Jul 3, 2018
)

* Add ability for image to read env from a file by _FILE suffix #175

* Fix issue with authSource/replicaSet for mongo typeorm #175
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant