initial configuration

This commit is contained in:
kleines Filmröllchen 2026-02-15 21:15:19 +01:00
commit 54c60fc9b7
Signed by: filmroellchen
SSH key fingerprint: SHA256:UMhcHaeI+VGsiUL2Drpw3aj1iRiQUlx8nxZqUPvoaVw
4 changed files with 94 additions and 0 deletions

20
valkey.conf Normal file
View 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