Skip to content

Instantly share code, notes, and snippets.

@johnathan-sewell
Created December 14, 2015 23:01
Show Gist options
  • Save johnathan-sewell/f586143f639a2e2fdc1a to your computer and use it in GitHub Desktop.
Save johnathan-sewell/f586143f639a2e2fdc1a to your computer and use it in GitHub Desktop.
redis.conf
# A redis config file for development on OSX
# See full config example here: http://download.redis.io/redis-stable/redis.conf
# 1. save this file in /etc/redis.conf
# 2. use an alias to make sure it's always used:
# - in ~/.bashrc add: alias redis-server="redis-server /private/etc/redis.config"
# prevent access from other networks/internet
bind 127.0.0.1
# require a password
requirepass a_long_password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment