Files
material-manage-service/src/main/resources/application.yml

138 lines
4.2 KiB
YAML

camunda:
bpm:
auto-deployment-enabled: false
database:
schema-update: true
eventing:
history: false
job-execution:
enabled: false
metrics:
enabled: false
easy-trans:
is-enable-global: true
is-enable-redis: true
is-enable-tile: true
knife4j:
basic:
enable: true
password: 123456
username: admin
enable: true
production: false
setting:
enableFooter: false
enableFooterCustom: true
enableOpenApi: false
enableSwaggerModels: false
footerCustomContent: Apache License 2.0
mybatis-plus:
configuration:
jdbc-type-for-null: 'null'
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
global-config:
banner: false
db-config:
id-type: ASSIGN_ID
logic-delete-field: DELETE_FLAG
logic-delete-value: DELETED
logic-not-delete-value: NOT_DELETE
enable-sql-runner: true
mapper-locations: classpath*:mjkf/xinke/**/mapping/*.xml,com/bstek/**/mapping/*.xml
type-handlers-package: mjkf.xinke.common.handler
sa-token:
activity-timeout: -1
alone-redis:
database: 2
host: ${spring.redis.host}
lettuce:
pool:
max-active: ${spring.redis.lettuce.pool.max-active}
max-idle: ${spring.redis.lettuce.pool.max-idle}
max-wait: ${spring.redis.lettuce.pool.max-wait}
min-idle: ${spring.redis.lettuce.pool.min-idle}
password: ${spring.redis.password}
port: ${spring.redis.port}
timeout: ${spring.redis.timeout}
is-concurrent: true
is-log: false
is-print: false
is-share: false
max-login-count: -1
timeout: 2592000
token-name: token
token-style: random-32
server:
port: 9882
mjkf-xinke:
config:
common:
backend-url: http://localhost:9882
front-url: http://localhost:9881
ten:
default-ten-id: -1
enabled: false
ignore-table-names: ''
ten-id-column-name: TENANT_ID
spring:
datasource:
druid:
stat-view-servlet:
enabled: true
login-password: 123456
login-username: admin
dynamic:
datasource:
master:
driver-class-name: com.mysql.cj.jdbc.Driver
password: Xxs123456
url: jdbc:mysql://192.168.1.3:4306/material_manage?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&useInformationSchema=true
username: root
druid:
break-after-acquire-failure: false
filters: stat
initial-size: 5
max-active: 20
max-pool-prepared-statement-per-connection-size: 20
max-wait: 60000
min-evictable-idle-time-millis: 300000
min-idle: 5
pool-prepared-statements: true
test-on-borrow: false
test-on-return: false
test-while-idle: true
time-between-eviction-runs-millis: 6000
validation-query-timeout: 2000
public-key: MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAMWiTVtdXFVrgFHDDKELZM0SywkWY3KjugN90eY5Sogon1j8Y0ClPF7nx3FuE7pAeBKiv7ChIS0vvx/59WUpKmUCAwEAAQ==
strict: true
jackson:
date-format: yyyy-MM-dd HH:mm:ss
locale: zh_CN
time-zone: GMT+8
profiles:
active: dev
redis:
database: 1
host: 127.0.0.1
lettuce:
pool:
max-active: 200
max-idle: 10
max-wait: -1ms
min-idle: 0
password: ''
port: 6379
timeout: 10s
servlet:
multipart:
max-file-size: 100MB
max-request-size: 100MB
application:
name: material-manage-service
proxy:
solr:
servlet_url: /solr/* # 这里不能写ip地址,只写接口后半段即可
target_url: http://localhost:50000 # 真实服务器接口地址