首页 > 解决方案 > 使用 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

标签: dockeriotgateway

解决方案


推荐阅读