1 Star 0 Fork 35

Anin/docker-compose

forked from kancy/docker-compose 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose-rabbitmq-cluster.yml 869 Bytes
一键复制 编辑 原始数据 按行查看 历史
kancy 提交于 2019-10-31 00:35 . init
version: '3'
services:
# ref: https://github.com/bijukunjummen/docker-rabbitmq-cluster
rabbitmq1:
image: bijukunjummen/rabbitmq-server:3.7.0
hostname: rabbitmq-cluster-node1
environment:
- RABBITMQ_DEFAULT_USER=root
- RABBITMQ_DEFAULT_PASS=root123
ports:
- "5672:5672"
- "15672:15672"
rabbitmq2:
image: bijukunjummen/rabbitmq-server:3.7.0
hostname: rabbitmq-cluster-node2
links:
- rabbitmq1
environment:
- CLUSTERED=true
- CLUSTER_WITH=rabbitmq1
- RAM_NODE=true
ports:
- "5673:5672"
- "15673:15672"
rabbitmq3:
image: bijukunjummen/rabbitmq-server:3.7.0
hostname: rabbitmq-cluster-node3
links:
- rabbitmq1
- rabbitmq2
environment:
- CLUSTERED=true
- CLUSTER_WITH=rabbitmq1
ports:
- "5674:5672"
- "15674:15672"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/aninn/docker-compose.git
git@gitee.com:aninn/docker-compose.git
aninn
docker-compose
docker-compose
master

搜索帮助