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

Update redis.conf. #127

Closed
wants to merge 1 commit into from
Closed

Conversation

scottjacobsen
Copy link

I spent some time trying to get redis to log to stdout before I realized the redis.conf file is out of date and the syntax for that has changed.

I copied the latest redis.conf template from redis 3.x.

I made to additional changes that I think make the image more useful as a redis docker image:

  • Logs to stdout rather than a logfile
  • Listen on all interfaces, not just localhost

Related #126

The redis 3.0 conf file has some syntax changes that aren't reflected in
the current redis.conf file.

For example to log to stdout in redis 3.x you use `logfile ""` rather
than `logfile stdout`.

* Update the `redis.conf` file to the template provided by redis 3.x.

* Update to log to `stdout` rather than `/var/log/redis/redis.log`

* Remove the `bind 127.0.0.1` statement so other containers can link to
  the redis server.
@OnixGH
Copy link
Contributor

OnixGH commented Jun 16, 2017

Delayed response, but thanks! See #126 for why we couldn't use it in the current form. I updated to the latest redis.conf in 5c555f1, and split out the stdout logging consideration to #190.

@OnixGH OnixGH closed this Jun 16, 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.

2 participants