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

Allow scheme config from env vars #209

Conversation

arielectron
Copy link
Contributor

Hi Erik.

I hope you are doing well.

I suggest this changes for allow to Docker users to configure the schema of the connection.

Thanks.
Ariel.

@arielectron
Copy link
Contributor Author

Two ways for config the scheme:

URL mode:
REDIS_1_HOST=tls://host:port

whithout config REDIS_1_PORT nor REDIS_1_SCHEME

Host mode:
REDIS_1_HOST=host
REDIS_1_PORT=port
REDIS_1_SCHEME=tls

Copy link
Owner

@erikdubbelboer erikdubbelboer left a comment

Choose a reason for hiding this comment

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

Thanks!

@erikdubbelboer erikdubbelboer merged commit 4f15444 into erikdubbelboer:master Aug 18, 2024
1 check was pending
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