You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.example.yaml 1.7 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. # Copyright © 2023 OpenIM open source community. All rights reserved.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. app:
  15. version: 0.1.0-dev
  16. debug: true
  17. log_file: logs/
  18. server:
  19. ip: 127.0.0.1
  20. port: 10010
  21. max_file_size: 10
  22. jwt:
  23. secret: openkf
  24. issuer: openkf
  25. expire_days: 1
  26. mysql:
  27. ip: 177.8.0.3
  28. port: 3306
  29. username: root
  30. password: 123123
  31. database: openkf
  32. max_lifetime: 120
  33. max_open_conns: 100
  34. max_idle_conns: 20
  35. redis:
  36. ip: 177.8.0.4
  37. port: 6379
  38. password: openkf
  39. database: 0
  40. minio:
  41. ip: 177.8.0.5
  42. port: 9000
  43. access_key_id: test123123
  44. secret_access_key: test123123
  45. bucket: openkf
  46. app_bucket: openkf
  47. location: us-east-1
  48. influxdb:
  49. ip: 177.8.0.6
  50. port: 8086
  51. token: admin1234
  52. org: openkf
  53. bucket: openkf
  54. email:
  55. host: # smtp address
  56. port: 25
  57. from: # email address
  58. nickname: openkf
  59. password: # smtp password
  60. pool_size: 4
  61. openim:
  62. secret: openIM123
  63. ip: 127.0.0.1
  64. api_port: 10002
  65. platform_id: 5 # web
  66. admin_id: openIMAdmin
  67. slack:
  68. bot_token:
  69. app_token:
  70. app_id: # need to give string, like '1821.42'
  71. client_id:
  72. client_secret:
  73. signing_secret:
  74. verification_token: