We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
main and release-3.8.0
Linux (AMD)
Docker Deployment
docker-compose.yml mongo 副本集如何配置
openim-server: image: ${OPENIM_SERVER_IMAGE} container_name: openim-server ports: - "${OPENIM_MSG_GATEWAY_PORT}:10001" - "${OPENIM_API_PORT}:10002" healthcheck: test: [ "CMD", "sh", "-c", "mage check" ] interval: 5s timeout: 60s retries: 10 environment: - IMENV_MONGODB_ADDRESS=${MONGO_ADDRESS} - IMENV_MONGODB_USERNAME=${MONGO_USERNAME} - IMENV_MONGODB_PASSWORD=${MONGO_PASSWORD} - IMENV_KAFKA_ADDRESS=${KAFKA_ADDRESS} - IMENV_DISCOVERY_ETCD_ADDRESS=${ETCD_ADDRESS} - IMENV_REDIS_ADDRESS=${REDIS_ADDRESS} - IMENV_REDIS_PASSWORD=${REDIS_PASSWORD} - IMENV_MINIO_INTERNALADDRESS=${MINIO_INTERNAL_ADDRESS} - IMENV_MINIO_EXTERNALADDRESS=${MINIO_EXTERNAL_ADDRESS} - IMENV_MINIO_ACCESSKEYID=${MINIO_ACCESS_KEY_ID} - IMENV_MINIO_SECRETACCESSKEY=${MINIO_SECRET_ACCESS_KEY} - IMENV_SHARE_SECRET=${OPENIM_SECRET} - IMENV_LOG_ISSTDOUT=${LOG_IS_STDOUT} - IMENV_LOG_REMAINLOGLEVEL=${LOG_LEVEL} - IMENV_OPENIM_API_PROMETHEUS_GRAFANAURL=${GRAFANA_URL} restart: always networks: - openim
openim-chat: image: ${OPENIM_CHAT_IMAGE} container_name: openim-chat healthcheck: test: [ "CMD", "sh", "-c", "mage check" ] interval: 5s timeout: 60s retries: 10 environment: - CHATENV_MONGODB_ADDRESS=${MONGO_ADDRESS} - CHATENV_MONGODB_USERNAME=${MONGO_USERNAME} - CHATENV_MONGODB_PASSWORD=${MONGO_PASSWORD} - CHATENV_DISCOVERY_ETCD_ADDRESS=${ETCD_ADDRESS} - CHATENV_REDIS_ADDRESS=${REDIS_ADDRESS} - CHATENV_REDIS_PASSWORD=${REDIS_PASSWORD} - CHATENV_SHARE_OPENIM_SECRET=${OPENIM_SECRET} - CHATENV_SHARE_OPENIM_APIURL=${API_URL} - CHATENV_LOG_ISSTDOUT=${LOG_IS_STDOUT} - CHATENV_LOG_REMAINLOGLEVEL=${LOG_LEVEL} ports: - "${CHAT_API_PORT}:10008" - "${ADMIN_API_PORT}:10009" restart: always networks: - openim
https://github.com/openimsdk/openim-docker/blob/main/docker-compose.yaml
The text was updated successfully, but these errors were encountered:
Start multiple MongoDB containers and initialize them with the replica set command.
Sorry, something went wrong.
icey-yu
No branches or pull requests
OpenIM Server Version
main and release-3.8.0
Operating System and CPU Architecture
Linux (AMD)
Deployment Method
Docker Deployment
Issue Description and Steps to Reproduce
docker-compose.yml mongo 副本集如何配置
openim-server:
image: ${OPENIM_SERVER_IMAGE}
container_name: openim-server
ports:
- "${OPENIM_MSG_GATEWAY_PORT}:10001"
- "${OPENIM_API_PORT}:10002"
healthcheck:
test: [ "CMD", "sh", "-c", "mage check" ]
interval: 5s
timeout: 60s
retries: 10
environment:
- IMENV_MONGODB_ADDRESS=${MONGO_ADDRESS}
- IMENV_MONGODB_USERNAME=${MONGO_USERNAME}
- IMENV_MONGODB_PASSWORD=${MONGO_PASSWORD}
- IMENV_KAFKA_ADDRESS=${KAFKA_ADDRESS}
- IMENV_DISCOVERY_ETCD_ADDRESS=${ETCD_ADDRESS}
- IMENV_REDIS_ADDRESS=${REDIS_ADDRESS}
- IMENV_REDIS_PASSWORD=${REDIS_PASSWORD}
- IMENV_MINIO_INTERNALADDRESS=${MINIO_INTERNAL_ADDRESS}
- IMENV_MINIO_EXTERNALADDRESS=${MINIO_EXTERNAL_ADDRESS}
- IMENV_MINIO_ACCESSKEYID=${MINIO_ACCESS_KEY_ID}
- IMENV_MINIO_SECRETACCESSKEY=${MINIO_SECRET_ACCESS_KEY}
- IMENV_SHARE_SECRET=${OPENIM_SECRET}
- IMENV_LOG_ISSTDOUT=${LOG_IS_STDOUT}
- IMENV_LOG_REMAINLOGLEVEL=${LOG_LEVEL}
- IMENV_OPENIM_API_PROMETHEUS_GRAFANAURL=${GRAFANA_URL}
restart: always
networks:
- openim
openim-chat:
image: ${OPENIM_CHAT_IMAGE}
container_name: openim-chat
healthcheck:
test: [ "CMD", "sh", "-c", "mage check" ]
interval: 5s
timeout: 60s
retries: 10
environment:
- CHATENV_MONGODB_ADDRESS=${MONGO_ADDRESS}
- CHATENV_MONGODB_USERNAME=${MONGO_USERNAME}
- CHATENV_MONGODB_PASSWORD=${MONGO_PASSWORD}
- CHATENV_DISCOVERY_ETCD_ADDRESS=${ETCD_ADDRESS}
- CHATENV_REDIS_ADDRESS=${REDIS_ADDRESS}
- CHATENV_REDIS_PASSWORD=${REDIS_PASSWORD}
- CHATENV_SHARE_OPENIM_SECRET=${OPENIM_SECRET}
- CHATENV_SHARE_OPENIM_APIURL=${API_URL}
- CHATENV_LOG_ISSTDOUT=${LOG_IS_STDOUT}
- CHATENV_LOG_REMAINLOGLEVEL=${LOG_LEVEL}
ports:
- "${CHAT_API_PORT}:10008"
- "${ADMIN_API_PORT}:10009"
restart: always
networks:
- openim
Screenshots Link
https://github.com/openimsdk/openim-docker/blob/main/docker-compose.yaml
The text was updated successfully, but these errors were encountered: