events/valkey.conf

20 lines
646 B
Text

bind -127.0.0.1 -::1
protected-mode yes
# Accept connections on the specified port, default is 6379 (IANA #815344).
# If port 0 is specified the server will not listen on a TCP socket.
port 0
unixsocket /run/valkey/valkey.sock
# unixsocketgroup root
unixsocketperm 777
# Close the connection after a client is idle for N seconds (0 to disable)
timeout 0
# Set the number of databases. The default database is DB 0, you can select
# a different one on a per-connection basis using SELECT <dbid> where
# dbid is a number between 0 and 'databases'-1
# Note: This setting is ignored in cluster mode. Use `cluster-databases` instead.
databases 3