50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
server:
|
|
port: 8018
|
|
|
|
spring:
|
|
mvc:
|
|
pathmatch:
|
|
matching-strategy: ant_path_matcher
|
|
profiles:
|
|
active: dev
|
|
datasource:
|
|
name: snail_job
|
|
url: jdbc:mysql://localhost:3306/snail_job_260?useSSL=false&characterEncoding=utf8&useUnicode=true
|
|
username: root
|
|
password: root
|
|
type: com.zaxxer.hikari.HikariDataSource
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
hikari:
|
|
connection-timeout: 30000
|
|
minimum-idle: 5
|
|
maximum-pool-size: 20
|
|
auto-commit: true
|
|
idle-timeout: 30000
|
|
pool-name: demo
|
|
max-lifetime: 1800000
|
|
connection-test-query: SELECT 1
|
|
|
|
mybatis-plus:
|
|
mapper-locations: classpath:/mapper/*.xml
|
|
typeAliasesPackage: com.example.snail.job.po
|
|
global-config:
|
|
db-config:
|
|
field-strategy: NOT_EMPTY
|
|
capital-mode: false
|
|
logic-delete-value: 1
|
|
logic-not-delete-value: 0
|
|
configuration:
|
|
map-underscore-to-camel-case: true
|
|
cache-enabled: true
|
|
|
|
logging:
|
|
config: classpath:logback-boot.xml
|
|
|
|
snail-job:
|
|
server:
|
|
host: 127.0.0.1
|
|
port: 1788
|
|
namespace: 764d604ec6fc45f68cd92514c40e9e1a
|
|
token: SJ_ewCVWgIhJ6qhGnoNdYCCWxpCuilBg4Bb
|
|
group: snail_job_demo_group
|