From 9ef8e6aee4d4e3d593d1df1e3dc4ee70356908b8 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 5 Sep 2021 12:21:28 +0200 Subject: [PATCH] df --- docker-compose.yml | 4 +--- redis.conf | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index c44f872a8..5557ffaa6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -56,9 +56,7 @@ services: redis: image: redis - command: redis-server /drama/redis.conf - volumes: - - ./redis.conf:/drama/redis.conf + command: redis-server --port 6380 --pidfile /redis_6379.pid --dbfilename /dump.rdb --dir ./ ports: - "6379:6379" diff --git a/redis.conf b/redis.conf index e8eff2774..bbc70993b 100644 --- a/redis.conf +++ b/redis.conf @@ -1238,8 +1238,8 @@ disable-thp yes # # The Append Only File is an alternative persistence mode that provides # much better durability. For instance using the default data fsync policy -# (see later in the config file) Redis can lose just one second of writes in a -# dramatic event like a server power outage, or a single write if something +# (see later in the config file) Redis can lose just one second of writes in an +# event like a server power outage, or a single write if something # wrong with the Redis process itself happens, but the operating system is # still running correctly. #