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

50 lines
1.2 KiB
YAML
Raw Normal View History

2023-09-02 17:24:47 +08:00
server:
port: 8018
2024-04-16 15:03:52 +08:00
2023-09-02 17:24:47 +08:00
spring:
mvc:
pathmatch:
matching-strategy: ant_path_matcher
profiles:
active: dev
datasource:
2024-04-16 15:03:52 +08:00
name: snail_job
url: jdbc:mysql://localhost:3306/snail_job_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
2024-04-16 15:03:52 +08:00
2023-09-02 17:24:47 +08:00
mybatis-plus:
mapper-locations: classpath:/mapper/*.xml
2024-04-16 15:03:52 +08:00
typeAliasesPackage: com.example.snail.job.po
2023-09-02 17:24:47 +08:00
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
token: SJ_ewCVWgIhJ6qhGnoNdYCCWxpCuilBg4Bb
group: snail_job_demo_group