Skip to content

Commit 68a735b

Browse files
authored
feat: enable redis aof-use-rdb-preamble && disable auto rdb (#3529)
1 parent 123abe9 commit 68a735b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docker-compose.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,12 @@ services:
6363
restart: always
6464
sysctls:
6565
net.core.somaxconn: 1024
66-
command: redis-server /usr/local/redis/config/redis.conf --requirepass openIM123 --appendonly yes
66+
command: >
67+
redis-server
68+
--requirepass openIM123
69+
--appendonly yes
70+
--aof-use-rdb-preamble yes
71+
--save ""
6772
networks:
6873
- openim
6974

0 commit comments

Comments
 (0)