Public Repository

Last pushed: a year ago
Short Description
redis master/slave/sentinel
Full Description

Имя образа: alfss/svo-redis

redis 3:latest

Имя сервиса (master):

master.redis-svo

Параметры которые можно получить из consul (изменения происходят только после рестарта контейнера:

redis.conf

databases {{ key_or_default "settings/redis/svo/databases" "16" }}
maxclients {{ key_or_default "settings/redis/svo/maxclients" "10000" }}
appendfsync {{ key_or_default "settings/redis/svo/appendfsync" "everysec" }}
slowlog-log-slower-than {{ key_or_default "settings/redis/svo/slowlog-log-slower-than" "10000" }}
slowlog-max-len {{ key_or_default "settings/redis/svo/slowlog-max-len" "128" }}
latency-monitor-threshold {{ key_or_default "settings/redis/svo/latency-monitor-threshold" "0" }}
notify-keyspace-events "{{ key_or_default "settings/redis/svo/notify-keyspace-events" "" }}"
hash-max-ziplist-entries {{ key_or_default "settings/redis/svo/hash-max-ziplist-entries" "512" }}
hash-max-ziplist-value {{ key_or_default "settings/redis/svo/hash-max-ziplist-value" "64" }}
list-max-ziplist-entries {{ key_or_default "settings/redis/svo/list-max-ziplist-entries" "512" }}
list-max-ziplist-value {{ key_or_default "settings/redis/svo/list-max-ziplist-value" "64" }}
set-max-intset-entries {{ key_or_default "settings/redis/svo/set-max-intset-entries" "512" }}
zset-max-ziplist-entries {{ key_or_default "settings/redis/svo/zset-max-ziplist-entries" "128" }}
zset-max-ziplist-value {{ key_or_default "settings/redis/svo/zset-max-ziplist-value" "64" }}
hz {{ key_or_default "settings/redis/svo/hz" "10" }}

sentinel.conf

sentinel down-after-milliseconds svomaster {{ key_or_default "settings/redis-sentinel/svo/down-after-milliseconds" "60000" }}
sentinel failover-timeout svomaster {{ key_or_default "settings/redis-sentinel/svo/failover-timeout" "180000" }}
sentinel parallel-syncs svomaster {{ key_or_default "settings/redis-sentinel/svo/parallel-syncs" "1" }}
Docker Pull Command
Owner
alfss

Comments (0)