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
36 stars 46 forks source link

Bug: Cannot change OPENIM_ADMIN_API_PORT #69

Closed AndrewZuo01 closed 7 months ago

AndrewZuo01 commented 7 months ago

What happened?

cannot change OPENIM_ADMIN_API_PORT, cannot login admin dashboard

What did you expect to happen?

able to log in admin dashboard

How can we reproduce it (as minimally and precisely as possible)?

change OPENIM_ADMIN_API_PORT to 40009 and then run code

Anything else we need to know?

No response

version

```console $ {name} version # paste output here ```

Cloud provider

OS version

```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ```

Install tools

cubxxw commented 7 months ago

Could you please confirm the port number for the management backend? OPENIM_ADMIN_API_PORT is for the chat admin API. The variable for modifying the port for the management backend is OPENIM_ADMIN_FRONT_PORT. You should be modifying OPENIM_ADMIN_FRONT_PORT.

AndrewZuo01 commented 7 months ago

yes it's OPENIM_ADMIN_API_PORT, modify OPENIM_ADMIN_FRONT_PORT is fine

cubxxw commented 7 months ago

okkey

kubbot commented 7 months ago

Bot detected the issue body's language is not English, translate it automatically. πŸ‘―πŸ‘­πŸ»πŸ§‘β€πŸ€β€πŸ§‘πŸ‘«πŸ§‘πŸΏβ€πŸ€β€πŸ§‘πŸ»πŸ‘©πŸΎβ€πŸ€β€πŸ‘¨πŸΏπŸ‘¬πŸΏ


okay