一体化平台初始化仓库
This commit is contained in:
106
cdaxxt-bootstrap/src/main/resources/application.yml
Normal file
106
cdaxxt-bootstrap/src/main/resources/application.yml
Normal file
@ -0,0 +1,106 @@
|
||||
server:
|
||||
host: 0.0.0.0
|
||||
port: 8049
|
||||
compression:
|
||||
enabled: true
|
||||
servlet:
|
||||
context-path: /mosty-platform
|
||||
|
||||
spring:
|
||||
aop:
|
||||
auto: true
|
||||
application:
|
||||
name: integration-platform-access
|
||||
jackson:
|
||||
date-format: yyyy-MM-dd HH:mm:ss
|
||||
resources:
|
||||
static-locations: classpath:/META-INF/resources/, classpath:/resources/, classpath:/static/, classpath:/public/, classpath:/templates/
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 20MB
|
||||
max-request-size: 20MB
|
||||
datasource:
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
url: jdbc:mysql://47.108.232.77:4407/mosty_jcgl_gs?autoReconnect=true&failOverReadOnly=false&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true&rewriteBatchedStatements=true&serverTimezone=Asia/Shanghai
|
||||
username: root
|
||||
password: Mosty@888
|
||||
druid: # 以下参数针对每个库可以重新设置druid参数
|
||||
# 使用druid数据源
|
||||
filters: stat
|
||||
maxActive: 20
|
||||
initialSize: 1
|
||||
maxWait: 60000
|
||||
minIdle: 1
|
||||
timeBetweenEvictionRunsMillis: 60000
|
||||
minEvictableIdleTimeMillis: 300000
|
||||
validationQuery: select 'x'
|
||||
testWhileIdle: true
|
||||
testOnBorrow: false
|
||||
testOnReturn: false
|
||||
poolPreparedStatements: true
|
||||
maxOpenPreparedStatements: 20
|
||||
redis:
|
||||
host: 47.108.232.77
|
||||
port: 6379
|
||||
password: sczy@2022
|
||||
timeout: 10000
|
||||
max-active: 100
|
||||
min-idle: 0
|
||||
max-idle: 20
|
||||
max-wait: 30000
|
||||
sxExpire: 1800
|
||||
database: 12
|
||||
thymeleaf:
|
||||
prefix: classpath:/templates/
|
||||
mode: HTML5
|
||||
suffix: .html
|
||||
encoding: UTF-8
|
||||
cache: false
|
||||
servlet:
|
||||
content-type: text/html
|
||||
enabled: true
|
||||
|
||||
# mybatis
|
||||
mybatis-plus:
|
||||
configuration:
|
||||
log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
|
||||
map-underscore-to-camel-case: true
|
||||
cache-enabled: false
|
||||
global-config:
|
||||
db-config:
|
||||
logic-delete-field: actived
|
||||
logic-delete-value: 0
|
||||
logic-not-delete-value: 1
|
||||
table-underline: true
|
||||
update-strategy: ignored
|
||||
banner: false
|
||||
|
||||
logging:
|
||||
file:
|
||||
name: ${user.dir}/logs/${spring.application.name}/${spring.application.name}.log
|
||||
level:
|
||||
org.springframework.cloud.openfeign: DEBUG
|
||||
feign: DEBUG
|
||||
|
||||
#feign:
|
||||
# client:
|
||||
# config:
|
||||
# default:
|
||||
# contract: org.springframework.cloud.openfeign.support.SpringMvcContract
|
||||
|
||||
bizworks:
|
||||
clientId: 6f938da0e22911f0bc71bc16950a55fb
|
||||
|
||||
bizworks-api-gateway:
|
||||
enable: true
|
||||
type: ali
|
||||
disSignService:
|
||||
signature:
|
||||
- host: api.gansu-ywzt.zgs.yun
|
||||
appKey: 1762305806807768
|
||||
appSecret: 5e1385488c054e9980bf0bf8e68c10a5
|
||||
bizId:
|
||||
service: tobacco-mp-uc-client
|
||||
|
||||
|
||||
Reference in New Issue
Block a user