File tree Expand file tree Collapse file tree 4 files changed +23
-0
lines changed Expand file tree Collapse file tree 4 files changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ data.sql
1
2
application.properties
2
3
HELP.md
3
4
.gradle
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ dependencies {
34
34
runtimeOnly(" com.h2database:h2" )
35
35
runtimeOnly(" com.mysql:mysql-connector-j" )
36
36
annotationProcessor(" org.springframework.boot:spring-boot-configuration-processor" )
37
+ developmentOnly(" org.springframework.boot:spring-boot-docker-compose" )
37
38
testImplementation(" org.springframework.boot:spring-boot-starter-test" )
38
39
testImplementation(" io.kotest:kotest-runner-junit5:5.8.0" )
39
40
testImplementation(" com.appmattus.fixture:fixture:1.2.0" )
Original file line number Diff line number Diff line change
1
+ services :
2
+ mysql :
3
+ image : ' mysql:latest'
4
+ environment :
5
+ - ' MYSQL_DATABASE=gcm'
6
+ - ' MYSQL_ROOT_PASSWORD=verysecret'
7
+ - ' MYSQL_USER=nilgil'
8
+ - ' MYSQL_PASSWORD=secret'
9
+ ports :
10
+ - ' 3306:3306'
Original file line number Diff line number Diff line change 1
1
spring :
2
2
application.name : generic-commerce
3
+ jpa :
4
+ open-in-view : false
5
+ hibernate :
6
+ ddl-auto : create
7
+ show-sql : true
8
+ defer-datasource-initialization : true
9
+ properties :
10
+ hibernate :
11
+ format_sql : true
12
+ sql.init.mode : always
13
+ docker.compose.lifecycle-management : start_only
You can’t perform that action at this time.
0 commit comments