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

[redis] allow configuration via REDIS_URL #303

Merged
merged 3 commits into from
Mar 15, 2017
Merged

[redis] allow configuration via REDIS_URL #303

merged 3 commits into from
Mar 15, 2017

Conversation

mikz
Copy link
Contributor

@mikz mikz commented Mar 15, 2017

closes #301

Environment variable REDIS_URL can be set to following format:
redis://PASSWORD@HOST:PORT/DB.

This enables connecting to password protected Redis on different DB than 0.

@octobot
Copy link

octobot commented Mar 15, 2017

Proselint found issues

doc/parameters.md

Line Message Severity

Spell Checker found issues

doc/parameters.md

Line Typo
3 APIcast v2 has a number of parameters co
3 ariables) that can modify the behavior of the gateway. The following
5 e that when deploying APIcast v2 with OpenShift, some of thee
15 Default: **stderr**
17 or more information. The file pathcan be either absolute, or relati
21 nfo
21 warn
37 Default: "apicast"
68 Values: a number > **60**
69 Default: 0
71 r. The value should be set to 0 or more than 60. For example,
71 ould be set to 0 or more than 60. For example, if `APICAST_CON
71 ONFIGURATION_CACHE` is set to 120, the gateway will reload the
71 eload the configuration every 2 minutes (120 seconds).
71 onfiguration every 2 minutes (120 seconds).
75 Default: "127.0.0.1"
77 ning Redis instance for OAuth 2.0 flow. REDIS_HOST parameter
81 Default: 6379
83 ning Redis instance for OAuth 2.0 flow. REDIS_PORT parameter
89 ning Redis instance for OAuth 2.0 flow. REDIS_URL parameter c
89 e used to set the full URI as DSN format like: `redis://PASSWOR
93 pty, the DNS resolver will be autodiscovered.
140 Setting it to particual version will make it not auto

Generated by 🚫 Danger

@mikz mikz merged commit a9e8baa into master Mar 15, 2017
@mikz mikz deleted the redis-url branch March 15, 2017 10:14
@mikz mikz removed the in progress label Mar 15, 2017
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.

Allow configuring Redis by URI
3 participants