openimsdk / openim-docker

openim-docker configuration for deploying OpenIM. Provides a build solution for a stable distribution, as well as a docker compose deployment strategy
https://openim.io
Apache License 2.0
39 stars 48 forks source link

[Deployment] Docker compose up -d , prometheus start failed. #167

Closed zibinlife closed 3 weeks ago

zibinlife commented 3 weeks ago

OpenIM Server Version

release-v3.8

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Docker Deployment

Issue Description and Steps to Reproduce

1724038816691

Action List:

  1. git clone https://github.com/openimsdk/open-im-server && cd open-im-server
  2. docker compose up -d. Service "prometheus" did not start successfully, while all other services were started.

Screenshots Link

No response

kubbot commented 3 weeks ago

Hello! Thank you for filing an issue.

If this is a bug report, please include relevant logs to help us debug the problem.

Join slack 🤖 to connect and communicate with our developers.

icey-yu commented 3 weeks ago

Prometheus requires adding its private IP address to the configuration file to start, and configuring via environment variables is cumbersome. We will disable the launch of Prometheus by default in the future. A failure to start Prometheus will not affect the operation of the program, and you can comment out the related configuration of Prometheus in docker-compose. If you need the functionality of Prometheus, it is recommended to deploy via source code.