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

Support docker secrets (i.e. secrets provided by a file path) #85

Open
MoralCode opened this issue Sep 20, 2024 · 0 comments
Open

Support docker secrets (i.e. secrets provided by a file path) #85

MoralCode opened this issue Sep 20, 2024 · 0 comments

Comments

@MoralCode
Copy link
Contributor

MoralCode commented Sep 20, 2024

Docker's docs for passing environment variables in compose files say

Don't use environment variables to pass sensitive information, such as passwords, in to your containers. Use secrets instead.

it seems like this makes secrets available via a path, such as /run/secrets/<secret name> within the container, rather than via env variables (which docker claims are easier to compromise)

In order to use this with hebbot, I think hebbot would need to support something like the _FILE environment variables (i.e. BOT_PASSWORD_FILE, which docker says

are a convention used by some images, including Docker Official Images like mysql and postgres.

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

No branches or pull requests

1 participant