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:
|
config:
|
||||||
activate:
|
activate:
|
||||||
on-profile: learn
|
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:
|
app:
|
||||||
profile: learn
|
profile: learn
|
||||||
|
|||||||
Reference in New Issue
Block a user