Switching over to using unix sockets for ICP

This commit is contained in:
2025-11-23 22:50:24 +01:00
parent d814369c99
commit dd62e93517
11 changed files with 157 additions and 26 deletions

View File

@@ -8,12 +8,22 @@
# Network Configuration
# =================================================================
# Bind to localhost only for security (like PostgreSQL)
{% if valkey_bind %}
# Bind to specified interfaces
bind {{ valkey_bind }}
{% else %}
# No TCP binding - Unix socket only
{% endif %}
# Valkey port
# Valkey port (0 = disable TCP)
port {{ valkey_port }}
# Unix socket configuration
{% if valkey_unixsocket is defined %}
unixsocket {{ valkey_unixsocket }}
unixsocketperm {{ valkey_unixsocketperm }}
{% endif %}
# Protected mode - requires authentication
protected-mode {{ 'yes' if valkey_protected_mode else 'no' }}