我通过docker安装Draco,当我尝试acess localhost:8080/nifi时,浏览器显示以下消息:"localhost不发送数据“。
我试着重新开始但什么也没有
请帮忙..。
发布于 2022-04-19 13:59:06
如果您遵循教程这里,则可以按照以下方式配置Draco:
# Draco is configured to write context data to a database
draco:
image: ging/fiware-draco:${DRACO_VERSION}
hostname: draco
container_name: fiware-draco
networks:
- default
environment:
- NIFI_WEB_HTTP_PORT=${DRACO_API_PORT}
expose:
- "5050"
- "${DRACO_API_PORT}"
ports:
- "${DRACO_API_PORT}:${DRACO_API_PORT}" # localhost:9090
- "5050:5050"
healthcheck:
test: curl --fail -s http://draco:${DRACO_API_PORT}/nifi-api/system-diagnostics || exit 1
start_period: 1m根据.env文件,web端口是9090而不是8080
# Draco Variables
DRACO_VERSION=1.3.6
DRACO_API_PORT=9090您应该使用docker ps命令检查您的端口。
https://stackoverflow.com/questions/71785862
复制相似问题