68 lines
1.3 KiB
YAML
68 lines
1.3 KiB
YAML
server:
|
|
port: 18086
|
|
tomcat:
|
|
connection-timeout: 10
|
|
uri-encoding: UTF-8
|
|
max-http-header-size: 102400
|
|
multipart:
|
|
max-file-size: 20MB
|
|
max-request-size: 20MB
|
|
maxFileSize: 10Mb
|
|
maxRequestSize: 10Mb
|
|
# 数据源配置
|
|
spring:
|
|
application:
|
|
name: bonus-realname-app
|
|
profiles:
|
|
# 环境配置
|
|
active: dev
|
|
cloud:
|
|
nacos:
|
|
config:
|
|
server-addr: 127.0.0.1:8848
|
|
namespace: 07736b2e-9922-415e-8624-50b275be556e
|
|
# 配置文件格式
|
|
file-extension: yml
|
|
group: DEFAULT_GROUP
|
|
# nacos.core.auth.enabled=true 开启权限验证
|
|
discovery:
|
|
# nacos地址
|
|
server-addr: 127.0.0.1:8848
|
|
namespace: 07736b2e-9922-415e-8624-50b275be556e
|
|
|
|
logging:
|
|
level:
|
|
root: INFO
|
|
pattern:
|
|
console: "%d{yyyy-MM-dd HH:mm:ss} - %msg%n"
|
|
log:
|
|
level:
|
|
root: info
|
|
my: debug
|
|
file: logs/sys-back.log
|
|
maxsize: 30M
|
|
|
|
|
|
files:
|
|
path: /rdata/gz_real_name/
|
|
upload_path: /rdata/gz_real_name
|
|
token:
|
|
expire:
|
|
seconds: 7200
|
|
loginCode:
|
|
expiration: 3
|
|
prefix: login_code
|
|
jasypt:
|
|
encryptor:
|
|
password: Encrypt
|
|
|
|
oss:
|
|
# endpoint: http://oss-ah-2-a.ops.sgmc.sgcc.com.cn/
|
|
endpoint: oss-cn-beijing.aliyuncs.com
|
|
accessKeyId: LTAI5tRkHKiF1GJiwK5dGFRj
|
|
accessKeySecret: jXewIIKO0ZmuuQedpN728M7bMFTNBO
|
|
bucketName: lsun
|
|
|
|
|
|
|