Docker-compose构建emqx
创建docker-compose.ymlversion: '3'services:emqx:image: emqx/emqxcontainer_name: emqxports:- "1883:1883"- "8083:8083"- "8883:8883"- "8084:8084"...
·
创建docker-compose.yml
version: '3'
services:
emqx:
image: emqx/emqx
container_name: emqx
ports:
- "1883:1883"
- "8083:8083"
- "8883:8883"
- "8084:8084"
- "18083:18083"
启动命令:docker-compose up -d
停止服务栈并删除相关资源:docker-compose down
重启服务栈:docker-compose restart
http://ip:18083 默认账号:admin 密码:public
更多推荐
已为社区贡献1条内容
所有评论(0)