我有 pulsar 和 pulsar-manager 作为 docker 容器运行。其他一切正常,但我似乎无法创建或查看集群。这是我的 docker-compose.yaml 文件。
#
# Docker compose file for local development
#
version: "3.7"
services:
pulsar:
image: apachepulsar/pulsar:2.7.3
container_name: pulsar
ports:
- 6650:6650
- 8080:8080
environment:
PULSAR_MEM: " -Xms512m -Xmx512m -XX:MaxDirectMemorySize=1g"
command: >
bin/pulsar standalone
volumes:
- pulsardata:/pulsar/data
- pulsarconf:/pulsar/conf
networks:
pulsar:
pulsar-manager:
container_name: pulsar-manager
image: apachepulsar/pulsar-manager:v0.2.0
ports:
- "9527:9527"
- "7750:7750"
depends_on:
- pulsar
links:
- pulsar
volumes:
- "./data/:/data"
environment:
REDIRECT_HOST: "http://127.0.0.1"
REDIRECT_PORT: "9527"
SPRING_CONFIGURATION_FILE: /pulsar-manager/pulsar-manager/application.properties
networks:
pulsar:
networks:
pulsar:
volumes:
pulsardata:
pulsarconf:
响应返回如下
{"timestamp":"2021-12-21T18:31:29.304+0000","status":500,"error":"Internal Server Error","message":"Failed to get failureDomains list.","path":"/pulsar-manager/admin/v2/clusters"}