update
This commit is contained in:
@@ -9,7 +9,6 @@ spring:
|
||||
hibernate:
|
||||
ddl-auto: validate
|
||||
# H2 uses the same SQL dialect as MySQL in MySQL compatibility mode
|
||||
database-platform: org.hibernate.dialect.H2Dialect
|
||||
|
||||
# H2 console — enabled in dev ONLY.
|
||||
# Access restricted to ROLE_ADMIN via Spring Security (see WebSecurityConfig).
|
||||
@@ -46,10 +45,8 @@ spring:
|
||||
stat-view-servlet:
|
||||
enabled: true
|
||||
url-pattern: /druid/*
|
||||
# Druid's own login — change before deploying to any shared environment
|
||||
# Druid UI gated by Spring Security ROLE_ADMIN; built-in basic auth disabled
|
||||
reset-enable: false
|
||||
login-username: admin
|
||||
login-password: changeme_dev
|
||||
allow: 127.0.0.1
|
||||
|
||||
# Flyway: run V1 + V2 migrations on H2 in-memory DB on startup
|
||||
@@ -59,4 +56,6 @@ spring:
|
||||
user: ${spring.datasource.username}
|
||||
password: ${spring.datasource.password}
|
||||
|
||||
port: 80
|
||||
# Override default port for dev profile
|
||||
server:
|
||||
port: 80
|
||||
|
||||
Reference in New Issue
Block a user