-
-
Notifications
You must be signed in to change notification settings - Fork 596
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
Set secret and api key with env #254
Comments
Yes, this is reasonable, I've just added support for setting Setting secret already possible with Here is a list of options Centrifugo supports setting over env vars: Line 61 in 683befc
If you need some option that is not currently in list we can add it too. Maybe it's a bit hard for |
That's wonderful, thank you! It would be great to be able to configure ports and tls through env as well. |
OK, will add very soon or just send pr :) |
🙇 |
Please support setting
secret
andapi_key
from ENV. This allows running the unmodified official centrifugo docker image in fargate by loadingCENTRIFUGO_SECRET
andCENTRIFUGO_API_KEY
from ssm parameter store secrets. It would be nice if pretty much all config variables and command line arguments could be set with env.At the moment I'll have to bake a new docker image around the official image which adds an s3 client and downloads a config file in an entrypoint which is a bit yuck.
(I'd be happy to contribute a PR if you'd be interested in this feature.)
The text was updated successfully, but these errors were encountered: