docker - 使用 docker-compose 运行 Edgex-UI-GO
问题描述
嘿,我是使用 EdgeX IoT 中心的新手。我面临的问题是我可以通过端口 48081 上的邮递员使用 api 添加设备等。尝试使用 edgex-ui-go 图像添加设备等时遇到问题。
我的 docker-compose gui 容器中是否有任何设置需要更改?
ui:
container_name: edgex-ui-go
hostname: edgex-ui-go
image: nexus3.edgexfoundry.org:10004/docker-edgex-ui-go:master
networks:
- edgex-network
ports:
- "127.0.0.1:4000:4000/tcp"
read_only: true
理想情况下,应从以下位置检索设备信息http://localhost:48081/api/v1/device
解决方案
推荐阅读
- android - Jetifier 后 Android Zendesk SDK v1 Offline Message Fragment 布局无效
- excel - VBA - 基于标识符,在目录中动态打开工作簿并粘贴每个值?
- nlp - 如何在 BERT 的帮助下找到段落的上下文?
- javascript - 如何重置已安装组件中道具更改的状态?
- mysql - 将我的 C 脚本连接到 MySQL 在线数据库时出错
- c# - 如何在 GroupBox 标题旁边显示 ErrorProvider 错误图标?
- nativescript - Nativescript ios 构建失败并出现错误 65
- java - 对具有多个输入的 ArrayList 中的字符串使用冒泡排序
- amazon-web-services - 将弹性 IP 与 EKS 工作程序节点相关联?
- sql - SQL Server 中的平均行数