server:
|
port: 8066
|
tomcat:
|
uri-encoding: utf-8
|
# my.ip=192.168.20.106
|
my:
|
ip: 192.168.20.106
|
messgae: 您无权访问
|
|
redis:
|
host: 192.168.20.106
|
maxIdle: 200
|
port: 6379
|
|
jedis:
|
pool:
|
maxActive: 1024
|
maxIdle: 200
|
maxWait: 1000
|
testOnBorrow: true
|
testOnReturn: true
|
|
spring:
|
http:
|
encoding:
|
charset: UTF-8
|
enabled: true
|
force: true
|
mvc:
|
view:
|
prefix: classpath:/templates/
|
suffix: .html
|
datasource:
|
driverClassName: org.postgresql.Driver
|
druid:
|
# 信创正式
|
# url: jdbc:highgo://192.168.20.106:5866/highgo?currentSchema=proxy
|
# username: highgo
|
# password: Highgo@123
|
url: jdbc:postgresql://127.0.0.1:5432/langfang?currentSchema=proxy
|
username: postgres
|
password: postgres
|
# 信创测试
|
#url: jdbc:highgo://18.1.2.15:5866/DB_DEV?currentSchema=dev_proxy
|
#username: sde
|
#password: sde
|
initial-size: 5
|
max-active: 20
|
min-idle: 10
|
max-wait: 10
|
task:
|
scheduling:
|
pool:
|
size: 10
|
servlet:
|
multipart:
|
max-file-size: 10MB
|
max-request-size: 100MB
|
mybatis:
|
mapperLocations: classpath:mapper/*Mapper.xml
|
# 打印日志
|
configuration:
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
# 系统
|
sys:
|
# 上传文件存储目录
|
uploadPath: /data/uploadFiles/proxy/
|
# 资源目录接口
|
api-catalog: http://192.168.20.106:8082
|
# 后台服务接口
|
api-server: http://192.168.20.106:8081
|
app-id: 1
|
app-full-name: 海洋管理应用服务平台资源目录子系统
|
loginUrl: http://192.168.20.106:8088/cas/login?service=http://192.168.20.106:9090/login #cas登录url
|
casHost: http://192.168.20.106:8088/cas/ #cas登录域名
|
# api接口模块,是通过jwt认证的,如果要使用api模块,则需要修改【加密秘钥】
|
jwt:
|
header: token
|
# 加密秘钥
|
secret: f4e2e52034348f86b67cde581c0f9eb5[lanbase]
|
# token有效时长,单位秒
|
expire: 86400
|
appidtokentime: [{\"20\":100L},{\"201\":100L}]
|
# swagger开关
|
visitname: servdl
|
visitpwd: servdl123
|
allowedips:
|
|
swagger:
|
enable: true
|
open: true
|
basePackage: com.terra.proxy.controller
|
|
|
logging:
|
path: /data/logFiles/proxy/
|
levels: info
|
|
|
#自定义路径
|
whiteIPlist: 192.168.20.106 #ip白名单"|"分离
|
|
isusetoken: true
|
|
# add by qufangxu at 20211211,/root/soft/etc/proxy/servlet.json
|
#servletJsonPath: E:\terrait\TianJin\proxy\src\main\resources\servlet.json
|
servletJsonPath: servlet.json
|