Switching over to using unix sockets for ICP
This commit is contained in:
@@ -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' }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user