application-api.properties.tpl 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. #
  2. # Licensed to the Apache Software Foundation (ASF) under one or more
  3. # contributor license agreements. See the NOTICE file distributed with
  4. # this work for additional information regarding copyright ownership.
  5. # The ASF licenses this file to You under the Apache License, Version 2.0
  6. # (the "License"); you may not use this file except in compliance with
  7. # the License. You may obtain a copy of the License at
  8. #
  9. # http://www.apache.org/licenses/LICENSE-2.0
  10. #
  11. # Unless required by applicable law or agreed to in writing, software
  12. # distributed under the License is distributed on an "AS IS" BASIS,
  13. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. # See the License for the specific language governing permissions and
  15. # limitations under the License.
  16. #
  17. # server port
  18. server.port=12345
  19. # session config
  20. server.servlet.session.timeout=7200
  21. # servlet config
  22. server.servlet.context-path=/dolphinscheduler/
  23. # time zone
  24. spring.jackson.time-zone=GMT+8
  25. # file size limit for upload
  26. spring.servlet.multipart.max-file-size=1024MB
  27. spring.servlet.multipart.max-request-size=1024MB
  28. # enable response compression
  29. server.compression.enabled=true
  30. server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json,application/xml
  31. # max http post size
  32. server.jetty.max-http-form-post-size=5000000
  33. # messages encoding
  34. spring.messages.encoding=UTF-8
  35. # i18n classpath folder, file prefix messages. if have many files, use "," seperator
  36. spring.messages.basename=i18n/messages
  37. # Authentication types (supported types: PASSWORD)
  38. security.authentication.type=PASSWORD
  39. # Traffic control, if you turn on this config, the maximum number of request/s will be limited.
  40. # global max request number per second
  41. # default tenant-level max request number
  42. #traffic.control.global.switch=true
  43. #traffic.control.max.global.qps.rate=500
  44. #traffic.control.tenant.switch=true
  45. #traffic.control.default.tenant.qps.rate=10
  46. #traffic.control.customize.tenant.qps.rate={'tenant1':11,'tenant2':20}
  47. #============================================================================
  48. # LDAP Config
  49. # mock ldap server from https://www.forumsys.com/tutorials/integration-how-to/ldap/online-ldap-test-server/
  50. #============================================================================
  51. # admin userId
  52. #security.authentication.ldap.user.admin=read-only-admin
  53. # ldap server config
  54. #ldap.urls=ldap://ldap.forumsys.com:389/
  55. #ldap.base.dn=dc=example,dc=com
  56. #ldap.username=cn=read-only-admin,dc=example,dc=com
  57. #ldap.password=password
  58. #ldap.user.identity.attribute=uid
  59. #ldap.user.email.attribute=mail