Open skiffer-git opened 2 months ago
openim-server: image: ${OPENIM_SERVER_IMAGE} container_name: openim-server ports:
Reference for configuration files:
https://github.com/openimsdk/open-im-server/tree/main/config https://github.com/openimsdk/chat/tree/main/config
To modify the configuration by setting environment variables, follow these rules:
For modifying the openim-serve configuration file: Set the environment variable using the pattern
IMENV_filename_variable=${value}
. Ensure to replace any hyphens in the filename with underscores.For modifying the openim-chat configuration file: Use the pattern
CHATENV_filename_variable=${value}
. As with the server configuration, replace hyphens in the filename with underscores.Examples: in docker-compose.yaml
prometheus.grafanaURL
in theopenim-api.yml
file, set the environment variable as:api.listenIP
in thechat-api-admin.yml
file, the environment variable should be:These guidelines ensure that you correctly set the environment variables needed to modify specific configuration settings.