deploy-ease-platform/backend/src/main/resources/application.yml
2024-12-10 21:58:42 +08:00

71 lines
2.2 KiB
YAML

server:
port: 8080
spring:
datasource:
url: jdbc:mysql://localhost:3306/deploy-ease-platform?characterEncoding=utf8&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true&createDatabaseIfNotExist=true
username: root
password: ServBay.dev
driver-class-name: com.mysql.cj.jdbc.Driver
jpa:
hibernate:
ddl-auto: update
show-sql: false
properties:
hibernate:
format_sql: false
use_sql_comments: true
dialect: org.hibernate.dialect.MySQL8Dialect
jdbc:
time_zone: Asia/Shanghai
mvc:
log-request-details: true
messages:
basename: messages
encoding: UTF-8
fallback-to-system-locale: false
messages:
basename: messages
encoding: UTF-8
fallback-to-system-locale: false
always-use-message-format: false
use-code-as-default-message: true
cache-duration: 3600
flowable:
database-schema-update: true
# id-generator: org.flowable.common.engine.impl.db.DbIdGenerator
#flowable:
# async-executor:
# default-async-job-acquire-wait-time: 60000
# default-timer-job-acquire-wait-time: 60000
# max-async-jobs-due-per-acquisition: 1
# retry-wait-time-in-millis: 60000
# number-of-retries: 1
# # 自动清理死信任务
# move-to-dead-letter-on-failure: true
# # 死信任务的保留时间(毫秒)
# dead-letter-timeout: 1000
logging:
level:
springframework: DEBUG
org.springframework.web: DEBUG
org.springframework.context.i18n: DEBUG
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping: TRACE
org.hibernate.SQL: INFO
org.hibernate.type.descriptor.sql: TRACE
org.hibernate.type.descriptor.sql.BasicBinder: TRACE
org.hibernate.orm.jdbc.bind: INFO
com.qqchen.deploy.backend.framework.utils.EntityPathResolver: DEBUG
com.qqchen.deploy.backend: DEBUG
jwt:
secret: 'thisIsAVeryVerySecretKeyForJwtTokenGenerationAndValidation123456789'
expiration: 86400
jackson:
time-zone: Asia/Shanghai
flyway:
enabled: true
baseline-on-migrate: true
locations: classpath:db/migration
table: flyway_schema_history
baseline-version: 0
validate-on-migrate: true