Files
open-im-server/config/mongodb.yml
T

15 lines
476 B
YAML
Raw Normal View History

2024-04-24 15:43:03 +08:00
# URI for database connection, leave empty if using address and credential settings directly
2024-04-19 22:23:08 +08:00
uri: ''
2024-04-24 15:43:03 +08:00
# List of MongoDB server addresses
2024-04-19 22:23:08 +08:00
address: [ localhost:37017 ]
2024-04-24 15:43:03 +08:00
# Name of the database
2024-04-19 22:23:08 +08:00
database: openim_v3
2024-04-24 15:43:03 +08:00
# Username for database authentication
2024-04-19 22:23:08 +08:00
username: openIM
2024-04-24 15:43:03 +08:00
# Password for database authentication
2024-04-19 22:23:08 +08:00
password: openIM123
2024-04-24 15:43:03 +08:00
# Maximum number of connections in the connection pool
2024-04-19 22:23:08 +08:00
maxPoolSize: 100
2024-04-24 15:43:03 +08:00
# Maximum number of retry attempts for a failed database connection
maxRetry: 10