-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Xinwei Xiong(cubxxw-openim) <[email protected]>
- Loading branch information
Showing
5 changed files
with
257 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,65 @@ | ||
# Copyright © 2023 OpenIM. All rights reserved. | ||
# The following is automatically generated | ||
# Use `make init` OR `./scripts/init-config.sh` | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
USER=root | ||
PASSWORD=openIM123 | ||
# ================= Basic Configuration =================== | ||
# Endpoint for the MinIO object storage service | ||
MINIO_ENDPOINT=http://127.0.0.1:10005 | ||
|
||
# Base URL for the application programming interface (API) | ||
API_URL=http://127.0.0.1:10002 | ||
DATA_DIR=./ | ||
|
||
# Directory path for storing data files or related information | ||
DATA_DIR=./ | ||
|
||
|
||
# ============ Component Extension Configuration ========== | ||
# Address or hostname for the ZooKeeper service (often used in distributed systems for maintaining configuration information) | ||
ZOOKEEPER_ADDRESS=127.0.0.1 | ||
|
||
# Port on which MySQL database service is running | ||
MYSQL_PORT=13306 | ||
|
||
# Password to authenticate with the MySQL database service | ||
MYSQL_PASSWORD=openIM123 | ||
|
||
# Port on which MongoDB service is running | ||
MONGO_PORT=37017 | ||
|
||
# Username to authenticate with the MongoDB service | ||
MONGO_USERNAME=root | ||
|
||
# Password to authenticate with the MongoDB service | ||
MONGO_PASSWORD=openIM123 | ||
|
||
# Name of the database in MongoDB to be used | ||
MONGO_DATABASE=openIM_v3 | ||
|
||
# Port on which Redis in-memory data structure store is running | ||
REDIS_PORT=16379 | ||
|
||
# Password to authenticate with the Redis service | ||
REDIS_PASSWORD=openIM123 | ||
|
||
# Port on which Kafka distributed streaming platform is running | ||
KAFKA_PORT=9092 | ||
|
||
# Address or hostname for the Kafka service | ||
KAFKA_ADDR=127.0.0.1 | ||
|
||
# Topic in Kafka for storing the latest messages in Redis | ||
KAFKA_LATESTMSG_REDIS_TOPIC=latestMsgToRedis | ||
|
||
# Topic in Kafka for pushing messages (e.g. notifications or updates) | ||
KAFKA_MSG_PUSH_TOPIC=msgToPush | ||
|
||
# Topic in Kafka for storing offline messages in MongoDB | ||
KAFKA_OFFLINEMSG_MONGO_TOPIC=offlineMsgToMongoMysql | ||
|
||
# Port on which MinIO object storage service is running | ||
MINIO_PORT=10005 | ||
|
||
# Access key to authenticate with the MinIO service | ||
MINIO_ACCESS_KEY=root | ||
|
||
# Secret key corresponding to the access key for MinIO authentication | ||
MINIO_SECRET_KEY=openIM123 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,68 @@ | ||
# Copyright © 2023 OpenIM. All rights reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# ================= Basic Configuration =================== | ||
# User for authentication or system operations | ||
USER=${USER} | ||
|
||
# Password associated with the specified user for authentication | ||
PASSWORD=${PASSWORD} | ||
|
||
# Endpoint for the MinIO object storage service | ||
MINIO_ENDPOINT=${MINIO_ENDPOINT} | ||
|
||
# Base URL for the application programming interface (API) | ||
API_URL=${API_URL} | ||
DATA_DIR=${DATA_DIR} | ||
|
||
# Directory path for storing data files or related information | ||
DATA_DIR=${DATA_DIR} | ||
|
||
|
||
# ============ Component Extension Configuration ========== | ||
# Address or hostname for the ZooKeeper service (often used in distributed systems for maintaining configuration information) | ||
ZOOKEEPER_ADDRESS=${ZOOKEEPER_ADDRESS} | ||
|
||
# Port on which MySQL database service is running | ||
MYSQL_PORT=${MYSQL_PORT} | ||
|
||
# Password to authenticate with the MySQL database service | ||
MYSQL_PASSWORD=${MYSQL_PASSWORD} | ||
|
||
# Port on which MongoDB service is running | ||
MONGO_PORT=${MONGO_PORT} | ||
|
||
# Username to authenticate with the MongoDB service | ||
MONGO_USERNAME=${MONGO_USERNAME} | ||
|
||
# Password to authenticate with the MongoDB service | ||
MONGO_PASSWORD=${MONGO_PASSWORD} | ||
|
||
# Name of the database in MongoDB to be used | ||
MONGO_DATABASE=${MONGO_DATABASE} | ||
|
||
# Port on which Redis in-memory data structure store is running | ||
REDIS_PORT=${REDIS_PORT} | ||
|
||
# Password to authenticate with the Redis service | ||
REDIS_PASSWORD=${REDIS_PASSWORD} | ||
|
||
# Port on which Kafka distributed streaming platform is running | ||
KAFKA_PORT=${KAFKA_PORT} | ||
|
||
# Address or hostname for the Kafka service | ||
KAFKA_ADDR=${KAFKA_ADDR} | ||
|
||
# Topic in Kafka for storing the latest messages in Redis | ||
KAFKA_LATESTMSG_REDIS_TOPIC=${KAFKA_LATESTMSG_REDIS_TOPIC} | ||
|
||
# Topic in Kafka for pushing messages (e.g. notifications or updates) | ||
KAFKA_MSG_PUSH_TOPIC=${KAFKA_MSG_PUSH_TOPIC} | ||
|
||
# Topic in Kafka for storing offline messages in MongoDB | ||
KAFKA_OFFLINEMSG_MONGO_TOPIC=${KAFKA_OFFLINEMSG_MONGO_TOPIC} | ||
|
||
# Port on which MinIO object storage service is running | ||
MINIO_PORT=${MINIO_PORT} | ||
|
||
# Access key to authenticate with the MinIO service | ||
MINIO_ACCESS_KEY=${MINIO_ACCESS_KEY} | ||
|
||
# Secret key corresponding to the access key for MinIO authentication | ||
MINIO_SECRET_KEY=${MINIO_SECRET_KEY} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.