Skip to content

Commit

Permalink
fix: docker
Browse files Browse the repository at this point in the history
  • Loading branch information
icey-yu committed Oct 12, 2024
1 parent 4296f3f commit 0af10c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/gettingStarted/dockerCompose.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ git clone https:/openimsdk/openim-docker

- 配置格式说明:

例如修改`openim-server`的配置文件`openim-api.yml`中的`prometheus.grafanaURL`字段,则应添加的环境变量为:`- IMENV_OPENIM_API_PROMETHEUS_GRAFANAURL=${GRAFANA_URL}``IMENV``openim-server`配置的固定前缀,文件名和字段之间的分隔符全部为`_`,并且全部改为大写。
docker方式部署如果需要修改配置,则需要通过修改docker-compose.yaml中的环境变量来实现。例如修改`openim-server`的配置文件`openim-api.yml`中的`prometheus.grafanaURL`字段,则应添加的环境变量为:`- IMENV_OPENIM_API_PROMETHEUS_GRAFANAURL=${GRAFANA_URL}``IMENV``openim-server`配置的固定前缀,文件名和字段之间的分隔符全部为`_`,并且全部改为大写。

- 其他配置请参考 .env 中的注释

Expand Down

0 comments on commit 0af10c9

Please sign in to comment.