Skip to content

Commit 2d25967

Browse files
committed
Disable BGSAVE
1 parent e05c279 commit 2d25967

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
- REDIS_CLUSTER=no
1111
- PORT=6379
1212
- TLS_PORT=6666
13-
command: --enable-debug-command yes --tls-auth-clients optional
13+
command: --enable-debug-command yes --tls-auth-clients optional --save ""
1414
ports:
1515
- 6379:6379
1616
- 6666:6666 # TLS port
@@ -28,7 +28,7 @@ services:
2828
container_name: redis-replica
2929
depends_on:
3030
- redis
31-
command: redis-server --replicaof redis 6379 --protected-mode no
31+
command: redis-server --replicaof redis 6379 --protected-mode no --save ""
3232
ports:
3333
- 6380:6379
3434
profiles:
@@ -46,7 +46,7 @@ services:
4646
- TLS_ENABLED=yes
4747
- PORT=16379
4848
- TLS_PORT=27379
49-
command: --enable-debug-command yes --tls-auth-clients optional
49+
command: --enable-debug-command yes --tls-auth-clients optional --save ""
5050
ports:
5151
- "16379-16384:16379-16384"
5252
- "27379-27384:27379-27384"
@@ -108,7 +108,7 @@ services:
108108
ports:
109109
- 6479:6379
110110
environment:
111-
- "REDIS_ARGS=--enable-debug-command yes --enable-module-command yes"
111+
- "REDIS_ARGS=--enable-debug-command yes --enable-module-command yes --save ''"
112112
profiles:
113113
- standalone
114114
- all-stack

0 commit comments

Comments
 (0)