使用 Docker Compose 部署 Redis 主从复制示例 此项目是使用 Docker Compose 部署 Redis 主从复制的示例,仅供参考。 端口占用 master:6379 slave: 6380 运行命令 docker compose up -d