Skip to content

Commit

Permalink
Update config.yaml (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
cubxxw authored Mar 6, 2024
1 parent 59d8835 commit 65d32c1
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions deployments/templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,6 @@ rpcRegisterName:
openImAdminName: admin # Name for OpenIM Admin RPC service
openImChatName: chat # Name for OpenIM Chat RPC service

# MySQL database configuration - used for storing OpenIM data
mysql:
address: [ 172.28.0.1:13306 ] # MYSQL_ADDRESS and MYSQL_PORT, MySQL server address and port
username: root # MYSQL_USERNAME, Username for MySQL
password: openIM123 # MYSQL_PASSWORD, Password for MySQL
database: openim_v3 # MYSQL_DATABASE, Database name
maxOpenConn: 1000 # Max open connections
maxIdleConn: 100 # Max idle connections
maxLifeTime: 60 # Max lifetime of connections in seconds
logLevel: 4 # Log level for MySQL
slowThreshold: 500 # Slow query threshold in milliseconds

# Log configuration - defines how logging is handled
log:
storageLocation: ../_output/logs/ # LOG_STORAGE_LOCATION, Directory for storing logs
Expand Down Expand Up @@ -159,4 +147,4 @@ mongo:
database: openim_v3
username: openIM
password: openIM123
maxPoolSize: 100
maxPoolSize: 100

0 comments on commit 65d32c1

Please sign in to comment.