Skip to content

Conversation

AxelUlmestig
Copy link
Contributor

@AxelUlmestig AxelUlmestig commented Feb 21, 2020

I'm working on using Postgraphile on a cloud hosting service in a customized Docker image. Being able to pass the jwtSecret via environment variables would make configuring different environments a lot easier.

Passing the info via command line arguments makes it harder to reuse one docker image with different settings.

I haven't studied the codebase in depth, I hope that the place I chose is a reasonable place to look for the environment variable.

@AxelUlmestig AxelUlmestig requested a review from benjie February 21, 2020 09:07
Copy link
Member

@benjie benjie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a small and sensible change 👍

@benjie benjie changed the title Look for JWT_SECRET in environment variables feat(jwt): add support for JWT_SECRET envvar Feb 24, 2020
@benjie benjie merged commit dd2b6b2 into graphile:v4 Feb 24, 2020
@AxelUlmestig AxelUlmestig deleted the feature/jwt-secret-from-env branch February 25, 2020 07:48
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.

2 participants