diff --git a/.docker/docker-compose.yml b/.docker/docker-compose.yml index 01a2d731..5554cc8c 100644 --- a/.docker/docker-compose.yml +++ b/.docker/docker-compose.yml @@ -20,7 +20,12 @@ services: ports: - "6379:6379" volumes: - - ./data/redis:/data + - ./redis/data:/data + - ./redis/conf/redis.conf:/usr/local/conf/redis.conf + labels: + - "mode=standalone" + restart: always + command: redis-server /usr/local/conf/redis.conf green: container_name: green