Skip to content

cache job from docker-registry/3.3.2

Redis provides caching features for Docker Registry

Github source: 61de1412 or master branch

Properties

docker

cache

redis
bind

IP Address to bind the Redis server to

Default
127.0.0.1
databases

Set the number of redis databases.

Default
16
loglevel

Log verbosity level for Redis cache server

Default
warning
maxclients

Set the max number of connected clients at the same time

Default
10000
maxmemory

Don’t use more memory than the specified amount of bytes.

Example
1e+12
password

Require clients to issue AUTH before processing any command

Example
mypasswordredis
port

What port to run Redis server on

Default
6379
tcp_keepalive

TCP keepalive. If non-zero, use SO_KEEPALIVE to send TCP ACKs to clients if no communication

Default
60
timeout

Close the connection after a client is idle for N seconds (0 to disable)

Default
30

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/cache/ directory (learn more).

  • bin/ctl (from bin/ctl)
  • bin/monit_debugger (from bin/monit_debugger)
  • config/redis.conf (from config/redis.conf)
  • data/properties.sh (from data/properties.sh.erb)
  • helpers/ctl_setup.sh (from helpers/ctl_setup.sh)
  • helpers/ctl_utils.sh (from helpers/ctl_utils.sh)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.