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.6 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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: 127.0.0.1
  28. port: 3307
  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: 127.0.0.1
  37. port: 6380
  38. password: openkf
  39. database: 0
  40. minio:
  41. ip: 127.0.0.1
  42. port: 9123
  43. access_key_id: test123123
  44. secret_access_key: test123123
  45. bucket: openkf
  46. app_bucket: openkf
  47. location: us-east-1
  48. email:
  49. host: # smtp address
  50. port: 25
  51. from: # email address
  52. nickname: openkf
  53. password: # smtp password
  54. pool_size: 4
  55. openim:
  56. secret: openkf
  57. ip: 127.0.0.1
  58. api_port: 10002
  59. platform_id: 5 # web
  60. admin_id: openkf_admin # OpenIMServer admin userID
  61. slack:
  62. bot_token:
  63. app_token:
  64. app_id: # need to give string, like '1821.42'
  65. client_id:
  66. client_secret:
  67. signing_secret:
  68. verification_token: