This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class RedisSessionStore(SessionStore): | |
def __init__(self, expire = 1800, key_prefix=''): | |
SessionStore.__init__(self) | |
self.redis = redis.Redis(tools.config.get('redis_host', 'localhost'), | |
int(tools.config.get('redis_port', 6379)), | |
int(tools.config.get('redis_dbindex', 1)), | |
password=tools.config.get('redis_pass', None)) | |
self.path = session_path() | |
self.expire = expire | |
self.key_prefix = key_prefix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Docker Upstart and SysVinit configuration file | |
# Customize location of Docker binary (especially for development testing). | |
#DOCKER="/usr/local/bin/docker" | |
# Use DOCKER_OPTS to modify the daemon startup options. | |
DOCKER_OPTS="-r=false --dns 172.17.42.1 --dns 8.8.8.8 --dns 8.8.4.4" | |
# If you need Docker to use an HTTP proxy, it can also be specified here. | |
#export http_proxy="http://127.0.0.1:3128/" |