application-api.properties.tpl 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. # post content
  32. server.jetty.max-http-form-post-size=5000000
  33. # i18n
  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. #============================================================================
  40. # LDAP Config
  41. # mock ldap server from https://www.forumsys.com/tutorials/integration-how-to/ldap/online-ldap-test-server/
  42. #============================================================================
  43. # admin userId
  44. #security.authentication.ldap.user.admin=read-only-admin
  45. # ldap server config
  46. #ldap.urls=ldap://ldap.forumsys.com:389/
  47. #ldap.base.dn=dc=example,dc=com
  48. #ldap.username=cn=read-only-admin,dc=example,dc=com
  49. #ldap.password=password
  50. #ldap.user.identity.attribute=uid
  51. #ldap.user.email.attribute=mail