initial configuration
This commit is contained in:
commit
54c60fc9b7
4 changed files with 94 additions and 0 deletions
20
valkey.conf
Normal file
20
valkey.conf
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue