Created
November 18, 2013 22:55
-
-
Save samalba/7536875 to your computer and use it in GitHub Desktop.
Enabling LRU cache on docker-registry
This file contains hidden or 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
dev: | |
# This assumes the Redis info are in environment variables | |
cache: | |
host: _env:REDIS_HOST | |
port: _env:REDIS_PORT | |
password: _env:REDIS_PASSWORD |
This file contains hidden or 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
# Enable 1GB of LRU cache on Redis | |
maxmemory 1gb | |
maxmemory-policy allkeys-lru |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment