Проект разделен на два репозитория
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
# Public healthcheck: unauthenticated PING only, no key access.
|
||||
user default reset on nopass -@all +ping
|
||||
|
||||
# Runtime cache user: replace the placeholder with a long random password.
|
||||
user safety reset on >REPLACE_WITH_LONG_RANDOM_PASSWORD ~han:safety:* -@all +ping +get +set
|
||||
@@ -0,0 +1,20 @@
|
||||
bind 0.0.0.0
|
||||
protected-mode yes
|
||||
port 6379
|
||||
aclfile /run/secrets/redis-safety.acl
|
||||
|
||||
appendonly yes
|
||||
appendfsync everysec
|
||||
save 900 1
|
||||
save 300 10
|
||||
dir /data
|
||||
|
||||
maxmemory 512mb
|
||||
maxmemory-policy allkeys-lru
|
||||
timeout 0
|
||||
tcp-keepalive 60
|
||||
|
||||
rename-command FLUSHALL ""
|
||||
rename-command FLUSHDB ""
|
||||
rename-command CONFIG ""
|
||||
rename-command DEBUG ""
|
||||
Reference in New Issue
Block a user