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. #