Spaces:
Sleeping
Sleeping
Update redis.conf
Browse files- redis.conf +10 -7
redis.conf
CHANGED
@@ -1,14 +1,17 @@
|
|
1 |
-
#
|
2 |
-
|
|
|
|
|
3 |
|
4 |
-
#
|
|
|
5 |
appendonly yes
|
6 |
appendfilename "appendonly.aof"
|
|
|
7 |
|
8 |
-
#
|
9 |
maxmemory 256mb
|
10 |
maxmemory-policy allkeys-lru
|
11 |
|
12 |
-
# Paramètres
|
13 |
-
|
14 |
-
protected-mode yes
|
|
|
1 |
+
# Paramètres de base
|
2 |
+
bind 0.0.0.0
|
3 |
+
protected-mode yes
|
4 |
+
port 6379
|
5 |
|
6 |
+
# Configuration de la persistence
|
7 |
+
dir /data/redis
|
8 |
appendonly yes
|
9 |
appendfilename "appendonly.aof"
|
10 |
+
appenddirname "appendonlydir"
|
11 |
|
12 |
+
# Paramètres de mémoire
|
13 |
maxmemory 256mb
|
14 |
maxmemory-policy allkeys-lru
|
15 |
|
16 |
+
# Paramètres de sécurité
|
17 |
+
requirepass YourStrongPasswordHere
|
|