环境:
1.三台阿里云服务器
2.docker部署
3.配置文件如下:
node {
name = “emqx@xx.xxx.xx.xxx”
cookie = “alipaimaisaas”
data_dir = “data”
}
cluster {
name = emqx
discovery_strategy = static
static {
seeds = [“emqx@192.168.xxx.xxx”, “emqx@192.168.xxx.xxx”,“emqx@192.168.xxx.xxx”]
}
}
dashboard {
listeners.http {
bind = 18083
}
}
node name 设置的是emqx@服务器ip地址,但实际加入集群后显示为emqx@192.XXXXXX