application.yml
864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
server:
port: 9090
spring:
application:
name: xly-erp-backend
jackson:
deserialization:
fail-on-unknown-properties: true
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://${DB_HOST}:${DB_PORT}/${DB_SCHEMA}?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true
username: ${DB_USER}
password: ${DB_PASSWORD}
flyway:
enabled: true
locations: filesystem:../sql/migrations
baseline-on-migrate: true
baseline-version: 0
validate-on-migrate: true
mybatis-plus:
configuration:
map-underscore-to-camel-case: false
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
global-config:
db-config:
id-type: auto
jwt:
secret: ${JWT_SECRET}
ttl-sec: 7200
logging:
level:
root: INFO
com.xly.erp: DEBUG