gtsoft-snail-job-demo/src/main/resources/application.yml

47 lines
1.1 KiB
YAML
Raw Normal View History

2023-09-02 17:24:47 +08:00
server:
port: 8018
spring:
mvc:
pathmatch:
matching-strategy: ant_path_matcher
profiles:
active: dev
datasource:
name: easy_retry
2024-01-09 22:49:59 +08:00
url: jdbc:mysql://localhost:3306/easy_retry_260?useSSL=false&characterEncoding=utf8&useUnicode=true
2023-09-02 17:24:47 +08:00
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.easy.retry.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
2024-04-16 08:49:09 +08:00
snail-job:
2023-09-02 17:24:47 +08:00
server:
host: 127.0.0.1
port: 1788
2023-12-11 22:43:12 +08:00
namespace: 764d604ec6fc45f68cd92514c40e9e1a
2024-04-16 08:49:09 +08:00
token: ER_Wyz3dmsdbDOkDujOTSSoBjGQP1BMsVnj