Explorar el Código

update docker/docker-compose.yml.
之前是5379,上下文中都是6379

Signed-off-by: vampirewal <235160615@qq.com>

vampirewal hace 2 años
padre
commit
79ed9e3fef
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      docker/docker-compose.yml

+ 1 - 1
docker/docker-compose.yml

@@ -42,7 +42,7 @@ services:
     image: 'redis:latest' # 使用最新版本的 Redis 镜像,也可以指定特定版本如 'redis:6.2.7'
     image: 'redis:latest' # 使用最新版本的 Redis 镜像,也可以指定特定版本如 'redis:6.2.7'
     container_name: my-redis # 自定义容器名称
     container_name: my-redis # 自定义容器名称
     ports:
     ports:
-      - '5379:6379' # 映射宿主机的 6379 端口到容器的 6379 端口
+      - '6379:6379' # 映射宿主机的 6379 端口到容器的 6379 端口
     volumes: # 持久化数据
     volumes: # 持久化数据
       - ./redis/redis.conf:/usr/local/etc/redis/redis.conf
       - ./redis/redis.conf:/usr/local/etc/redis/redis.conf
       - ./redis/data:/data:rw
       - ./redis/data:/data:rw