fix(deploy): use in-memory H2 for learn profile to avoid file lock on service startup
This commit is contained in:
@@ -3,6 +3,14 @@ spring:
|
||||
config:
|
||||
activate:
|
||||
on-profile: learn
|
||||
datasource:
|
||||
url: jdbc:h2:mem:springboot_scaffold_learn;MODE=MYSQL;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
|
||||
driver-class-name: org.h2.Driver
|
||||
username: sa
|
||||
password:
|
||||
h2:
|
||||
console:
|
||||
enabled: true
|
||||
|
||||
app:
|
||||
profile: learn
|
||||
|
||||
Reference in New Issue
Block a user