68 lines
1.3 KiB
YAML
68 lines
1.3 KiB
YAML
|
|
server:
|
||
|
|
port: 48085
|
||
|
|
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: 192.168.0.14:18848
|
||
|
|
namespace: 7c801fed-8b1c-4e57-8099-fe4e5e2b6b64
|
||
|
|
# 配置文件格式
|
||
|
|
file-extension: yml
|
||
|
|
group: DEFAULT_GROUP
|
||
|
|
# nacos.core.auth.enabled=true 开启权限验证
|
||
|
|
discovery:
|
||
|
|
# nacos地址
|
||
|
|
server-addr: 192.168.0.14:18848
|
||
|
|
namespace: 7c801fed-8b1c-4e57-8099-fe4e5e2b6b64
|
||
|
|
|
||
|
|
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
|
||
|
|
|
||
|
|
|
||
|
|
|