deploy-ease-platform/backend/src/main/resources/application.yml
2024-11-26 22:15:56 +08:00

47 lines
1.5 KiB
YAML

server:
port: 8080
spring:
datasource:
url: jdbc:mysql://192.168.1.111:3306/deploy-ease-platform?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true
username: deploy-ease-platform
password: qichen5210523
driver-class-name: com.mysql.cj.jdbc.Driver
jpa:
hibernate:
ddl-auto: update
show-sql: true
properties:
hibernate:
format_sql: false
use_sql_comments: true
dialect: org.hibernate.dialect.MySQL8Dialect
jdbc:
time_zone: Asia/Shanghai
mvc:
log-request-details: true # \u6253\u5370\u8BF7\u6C42\u8BE6\u60C5
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
logging:
level:
org.springframework.web: DEBUG
org.springframework.context.i18n: DEBUG
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping: TRACE # \u6253\u5370\u6240\u6709\u6CE8\u518C\u7684\u63A5\u53E3\u8DEF\u5F84
org.hibernate.type.descriptor.sql.BasicBinder: TRACE # \u663E\u793ASQL\u53C2\u6570
org.hibernate.type.descriptor.sql: TRACE
com.qqchen.deploy.backend.common.utils.EntityPathResolver: DEBUG
jwt:
secret: 'thisIsAVeryVerySecretKeyForJwtTokenGenerationAndValidation123456789'
expiration: 86400
jackson:
time-zone: Asia/Shanghai