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

running app with docker by docker-compose #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

running app with docker by docker-compose #7

wants to merge 1 commit into from

Conversation

hoangsetup
Copy link

No description provided.

@@ -4,7 +4,7 @@ var init = function () {

if(process.env.NODE_ENV === 'production') {
var redisURI = require('url').parse(process.env.REDIS_URL);
var redisPassword = redisURI.auth.split(':')[1];
Copy link
Author

Choose a reason for hiding this comment

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

if redis server without auth then redisURI.auth will be null

@OmarElgabry
Copy link
Owner

Thanks. But, please without the part of giving an option to enable/disable the authentication, as this part needs to be document, coded, tested and reviewed.

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.

None yet

2 participants