提交 17933f9f 作者: 方治民

chore: 更新调试用途的环境配置

上级 7481fe3d
...@@ -8,6 +8,15 @@ spring: ...@@ -8,6 +8,15 @@ spring:
hibernate: hibernate:
# 关闭 hibernate-types banner 日志信息 # 关闭 hibernate-types banner 日志信息
types.print.banner: false types.print.banner: false
# https://stackoverflow.com/questions/49283069/columnunique-true-produces-a-warn-o-h-engine-jdbc-spi-sqlexceptionhelper
schema_update:
unique_constraint_strategy: RECREATE_QUIETLY
# https://github.com/spring-projects/spring-data-jpa/issues/2717
# https://hibernate.atlassian.net/browse/HHH-15827
jakarta:
persistence:
sharedCache:
mode: UNSPECIFIED
data: data:
redis: redis:
repositories: repositories:
......
...@@ -22,21 +22,21 @@ spring: ...@@ -22,21 +22,21 @@ spring:
properties: properties:
hibernate: hibernate:
format_sql: true format_sql: true
# https://stackoverflow.com/questions/49283069/columnunique-true-produces-a-warn-o-h-engine-jdbc-spi-sqlexceptionhelper
schema_update:
unique_constraint_strategy: RECREATE_QUIETLY
# https://github.com/spring-projects/spring-data-jpa/issues/2717
# https://hibernate.atlassian.net/browse/HHH-15827
jakarta:
persistence:
sharedCache:
mode: UNSPECIFIED
data: data:
redis: redis:
database: 5 database: 5
port: 6379 port: 6379
host: ${env.host} host: ${env.host}
password: ${env.props.password} password: ${env.props.password}
repositories:
enabled: false
rabbitmq:
host: ${env.host}
port: 5672
username: ${env.props.username}
password: ${env.props.password}
virtual-host: admin
stomp-port: 61613
# ---------------------------------------------- # ----------------------------------------------
# ---------------------------------------------- # ----------------------------------------------
......
...@@ -17,7 +17,7 @@ spring: ...@@ -17,7 +17,7 @@ spring:
max-request-size: 1048MB max-request-size: 1048MB
profiles: profiles:
include: auth, conf-patch #, monitor include: auth, conf-patch #, monitor
active: mock active: dev-postgresql
# DEBUG # DEBUG
debug: false debug: false
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论