3
13693261870
2022-09-16 63ba114e70e380442fcbed4a5157ee52c9491216
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# 日志
logging:
    path: /data/logFiles/lanbase
# 系统
sys:
    # 上传文件存储目录
    uploadPath: /data/uploadFiles/lanbase/
    uploadUeditorPath: http://192.168.20.106:8081/uploadFile/
    loginUrl: http://192.168.20.106:8081/login #登录service url
    casHost: http://192.168.20.106:8088/cas/ #cas登录域名
    currentSystemId: 1  #当前系统id
    #写入日志表
    log:
        app-id: 1
        app-full-name: 时空大数据平台
    # api接口模块,是通过jwt认证的,如果要使用api模块,则需要修改【加密秘钥】
    jwt:
        header: token
        # 加密秘钥
        secret: f4e2e52034348f86b67cde581c0f9eb5[lanbase]
        # token有效时长,单位秒
        expire: 86400
    # swagger开关
    swagger:
        open: true
        basePackage: com.landtool.lanbase.modules.api
 
# Tomcat
server:
    tomcat:
        uri-encoding: UTF-8
        max-threads: 1000
        min-spare-threads: 30
    port: 8081
 
security:
  basic:
    enabled: false
 
spring:
    # 环境 dev|test|pro
    profiles:
        active: dev
    # jackson时间格式化
    jackson:
        time-zone: GMT+8
        date-format: yyyy-MM-dd HH:mm:ss
    http:
        multipart:
            max-file-size: 100MB
            max-request-size: 100MB
            enabled: true
    # 指定静态资源的路径
    resources:
        static-locations: classpath:/static/,classpath:/views/
        #资源缓存时间,单位秒
        #cache-period:604800
        #chain:
            #gzipped: ture
            #cache:ture
    redis:
        open: true  # 是否开启redis缓存  true开启   false关闭
        database: 0
        host: 192.168.20.106
        port: 6379
        timeout: 6000  # 连接超时时长(毫秒)
        pool:
            max-active: 1000  # 连接池最大连接数(使用负值表示没有限制)
            max-wait: -1      # 连接池最大阻塞等待时间(使用负值表示没有限制)
            max-idle: 10      # 连接池中的最大空闲连接
            min-idle: 5       # 连接池中的最小空闲连接
 
 
# Mybatis配置
mybatis:
    mapperLocations: classpath:mapper/**/*.xml
    configuration:
            mapUnderscoreToCamelCase: true  # 驼峰转换
 
management:
     server:
        port: 8089
        servlet:
           context-path: /actuator
     endpoint:
        health:
           show-details: always
     security:
        enabled: false
     endpoints:
        web:
          exposure:
            include: '*'
            exclude: env,beans