diff --git a/docker-compose.yml b/docker-compose.yml index 7c037e0..21bba4f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -52,7 +52,9 @@ services: redis: image: redis container_name: wm-redis - command: redis-server --requirepass qwerty + command: redis-server /usr/local/etc/redis/redis.conf + volumes: + - ./redis.conf:/usr/local/etc/redis/redis.conf ports: - "6379:6379" networks: diff --git a/redis.conf b/redis.conf new file mode 100644 index 0000000..e9e2f30 --- /dev/null +++ b/redis.conf @@ -0,0 +1,3 @@ +requirepass qwerty +repl-backlog-ttl 3600 +repl-backlog-size 1048576 \ No newline at end of file