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

Docker Secrets support is undocumented #398

Closed
mark-monteiro opened this issue May 23, 2023 · 1 comment
Closed

Docker Secrets support is undocumented #398

mark-monteiro opened this issue May 23, 2023 · 1 comment

Comments

@mark-monteiro
Copy link

mark-monteiro commented May 23, 2023

I found the following issue in the main repo that added support for using Docker secrets for any config variable: plausible/analytics#1105

This functionality doesn't appear to be documented anywhere, and also takes a different approach to using Docker secrets than I have seen commonly used in other popular Docker images (i.e. adding separate _FILE environment variables to specify a path to load the secret from).

From what I can tell, Plausible will load any config variable from the config directory (defaults to /run/secrets) when there is a file with a name matching the variable. This should be added as a note somewhere in the docs, and should probably also encouraged to be used for sensitive variables (DATABASE_URL, GOOGLE_CLIENT_SECRET, etc)

@ruslandoga
Copy link
Collaborator

👋 @mark-monteiro

Self-hosted docs are in the process of being moved to https://github.com/plausible/community-edition

I referenced your issue in plausible/community-edition#97

Sorry for a late reply!

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

2 participants