File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 "console" : " internalConsole" ,
1010 "mainClass" : " sample.Application" ,
1111 "projectName" : " workspace" ,
12- "args" : " -Xmx128m" ,
13- "env" : {
14- "SHOW_SQL" : " true" ,
15- "DDL_AUTO" : " create-drop" ,
16- "MAIL_ENABLED" : " false" ,
17- "MANAGEMENT_EXPOSURE" : " *"
18- }
12+ "args" : " -Xmx128m --spring.profiles.active=dev" ,
1913 }
2014 ]
2115}
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ It is necessary to do the following step.
100100Do the server start in the next step.
101101
1021021 . You move to the cloned * ddd-java* directory.
103- 1 . Run command ` gradlew bootRun ` .
103+ 1 . Run command ` ./ gradlew bootRun --args='--spring.profiles.active=dev' ` .
1041041 . If console show "Started Application", start is completed in port 8080
1051051 . Run command ` curl http://localhost:8080/actuator/health `
106106
Original file line number Diff line number Diff line change @@ -23,3 +23,15 @@ management:
2323
2424sample :
2525 mail.enabled : ${MAIL_ENABLED:true}
26+
27+ ---
28+ spring :
29+ config.activate.on-profile : " dev"
30+
31+ spring.jpa :
32+ show-sql : true
33+ hibernate.ddl-auto : create-drop
34+
35+ management.endpoints.web.exposure.include : " *"
36+
37+ sample.mail.enabled : false
You can’t perform that action at this time.
0 commit comments