Skip to content

Commit

Permalink
Fix config (#2541)
Browse files Browse the repository at this point in the history
* feat: remove double quotation marks

* feat: test

* feat: default close prometheus
  • Loading branch information
icey-yu authored Aug 21, 2024
1 parent 1022b29 commit 0af207b
Show file tree
Hide file tree
Showing 21 changed files with 264 additions and 241 deletions.
2 changes: 1 addition & 1 deletion config/discovery.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
enable: "etcd"
enable: etcd
etcd:
rootDirectory: openim
address: [ localhost:12379 ]
Expand Down
18 changes: 9 additions & 9 deletions config/kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ username: ''
# Password for authentication
password: ''
# Producer acknowledgment settings
producerAck: ""
producerAck:
# Compression type to use (e.g., none, gzip, snappy)
compressType: "none"
compressType: none
# List of Kafka broker addresses
address: [ localhost:19094 ]
# Kafka topic for Redis integration
toRedisTopic: "toRedis"
toRedisTopic: toRedis
# Kafka topic for MongoDB integration
toMongoTopic: "toMongo"
toMongoTopic: toMongo
# Kafka topic for push notifications
toPushTopic: "toPush"
toPushTopic: toPush
# Consumer group ID for Redis topic
toRedisGroupID: redis
# Consumer group ID for MongoDB topic
Expand All @@ -25,12 +25,12 @@ tls:
# Enable or disable TLS
enableTLS: false
# CA certificate file path
caCrt: ""
caCrt:
# Client certificate file path
clientCrt: ""
clientCrt:
# Client key file path
clientKey: ""
clientKey:
# Client key password
clientKeyPwd: ""
clientKeyPwd:
# Whether to skip TLS verification (not recommended for production)
insecureSkipVerify: false
12 changes: 6 additions & 6 deletions config/minio.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Name of the bucket in MinIO
bucket: "openim"
bucket: openim
# Access key ID for MinIO authentication
accessKeyID: "root"
accessKeyID: root
# Secret access key for MinIO authentication
secretAccessKey: "openIM123"
secretAccessKey: openIM123
# Session token for MinIO authentication (optional)
sessionToken: ''
sessionToken:
# Internal address of the MinIO server
internalAddress: "localhost:10005"
internalAddress: localhost:10005
# External address of the MinIO server, accessible from outside. Supports both HTTP and HTTPS using a domain name
externalAddress: "http://external_ip:10005"
externalAddress: http://external_ip:10005
# Flag to enable or disable public read access to the bucket
publicRead: false

Expand Down
2 changes: 1 addition & 1 deletion config/mongodb.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# URI for database connection, leave empty if using address and credential settings directly
uri: ''
uri:
# List of MongoDB server addresses
address: [ localhost:37017 ]
# Name of the database
Expand Down
Loading

0 comments on commit 0af207b

Please sign in to comment.