Changeset View
Changeset View
Standalone View
Standalone View
docker/redis/redis.conf
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Line(s) | |||||
# By default Redis listens for connections from all the network interfaces | # By default Redis listens for connections from all the network interfaces | ||||
# available on the server. It is possible to listen to just one or multiple | # available on the server. It is possible to listen to just one or multiple | ||||
# interfaces using the "bind" configuration directive, followed by one or | # interfaces using the "bind" configuration directive, followed by one or | ||||
# more IP addresses. | # more IP addresses. | ||||
# | # | ||||
# Examples: | # Examples: | ||||
# | # | ||||
# bind 192.168.1.100 10.0.0.1 | # bind 192.168.1.100 10.0.0.1 | ||||
bind 127.0.0.1 | #bind 127.0.0.1 | ||||
# Specify the path for the Unix socket that will be used to listen for | # Specify the path for the Unix socket that will be used to listen for | ||||
# incoming connections. There is no default, so Redis will not listen | # incoming connections. There is no default, so Redis will not listen | ||||
# on a unix socket when not specified. | # on a unix socket when not specified. | ||||
# | # | ||||
# unixsocket /tmp/redis.sock | # unixsocket /tmp/redis.sock | ||||
# unixsocketperm 700 | # unixsocketperm 700 | ||||
▲ Show 20 Lines • Show All 747 Lines • ▼ Show 20 Line(s) | |||||
# 100 only in environments where very low latency is required. | # 100 only in environments where very low latency is required. | ||||
hz 10 | hz 10 | ||||
# When a child rewrites the AOF file, if the following option is enabled | # When a child rewrites the AOF file, if the following option is enabled | ||||
# the file will be fsync-ed every 32 MB of data generated. This is useful | # the file will be fsync-ed every 32 MB of data generated. This is useful | ||||
# in order to commit the file to the disk more incrementally and avoid | # in order to commit the file to the disk more incrementally and avoid | ||||
# big latency spikes. | # big latency spikes. | ||||
aof-rewrite-incremental-fsync yes | aof-rewrite-incremental-fsync yes | ||||
# We need to connect over non-localhost | |||||
protected-mode no |