diff --git a/docker-compose-analyze.yml b/docker-compose-analyze.yml index 678264b07..75a9465f6 100644 --- a/docker-compose-analyze.yml +++ b/docker-compose-analyze.yml @@ -33,6 +33,9 @@ services: redis: container_name: fineAnts_redis image: redis:latest + volumes: + - ./redis.conf:/usr/local/etc/redis/redis.conf + command: redis-server /usr/local/etc/redis/redis.conf ports: - "6379:6379" networks: diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index 12f3800fe..87268e76b 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -18,6 +18,9 @@ services: redis: container_name: fineAnts_redis image: redis:latest + volumes: + - ./redis.conf:/usr/local/etc/redis/redis.conf + command: redis-server /usr/local/etc/redis/redis.conf ports: - "6379:6379" networks: diff --git a/docker-compose.yml b/docker-compose.yml index d265df902..04a5c7bc3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,6 +17,9 @@ services: redis: container_name: fineAnts_redis image: redis:latest + volumes: + - ./redis.conf:/usr/local/etc/redis/redis.conf + command: redis-server /usr/local/etc/redis/redis.conf ports: - "6379:6379" networks: diff --git a/redis.conf b/redis.conf new file mode 100644 index 000000000..fa01de100 --- /dev/null +++ b/redis.conf @@ -0,0 +1 @@ +stop-writes-on-bgsave-error no