application-api.properties.tpl 2.6 KB
Newer Older
B
bao liang 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
L
liwenhe1993 已提交
17

18 19
# server port
server.port=12345
L
liwenhe1993 已提交
20

21 22
# session config
server.servlet.session.timeout=7200
L
liwenhe1993 已提交
23

L
liwenhe1993 已提交
24
# servlet config
25
server.servlet.context-path=/dolphinscheduler/
L
liwenhe1993 已提交
26

27 28 29
# time zone
spring.jackson.time-zone=GMT+8

30 31 32
# file size limit for upload
spring.servlet.multipart.max-file-size=1024MB
spring.servlet.multipart.max-request-size=1024MB
L
liwenhe1993 已提交
33

34 35 36 37
# enable response compression
server.compression.enabled=true
server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json,application/xml

38
# max http post size
39
server.jetty.max-http-form-post-size=5000000
L
liwenhe1993 已提交
40

41
# messages encoding
42
spring.messages.encoding=UTF-8
L
liwenhe1993 已提交
43

44
# i18n classpath folder, file prefix messages. if have many files, use "," seperator
45
spring.messages.basename=i18n/messages
L
liwenhe1993 已提交
46

L
liwenhe1993 已提交
47 48 49
# Authentication types (supported types: PASSWORD)
security.authentication.type=PASSWORD

50 51 52 53 54 55 56 57 58
# Traffic control, if you turn on this config, the maximum number of request/s will be limited.
# global max request number per second
# default tenant-level max request number
#traffic.control.global.switch=true
#traffic.control.max.global.qps.rate=500
#traffic.control.tenant.switch=true
#traffic.control.default.tenant.qps.rate=10
#traffic.control.customize.tenant.qps.rate={'tenant1':11,'tenant2':20}

59 60 61 62 63 64 65 66 67 68 69 70 71
#============================================================================
# LDAP Config
# mock ldap server from https://www.forumsys.com/tutorials/integration-how-to/ldap/online-ldap-test-server/
#============================================================================
# admin userId
#security.authentication.ldap.user.admin=read-only-admin
# ldap server config
#ldap.urls=ldap://ldap.forumsys.com:389/
#ldap.base.dn=dc=example,dc=com
#ldap.username=cn=read-only-admin,dc=example,dc=com
#ldap.password=password
#ldap.user.identity.attribute=uid
#ldap.user.email.attribute=mail