File tree Expand file tree Collapse file tree 3 files changed +18
-3
lines changed
Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,16 @@ jib {
2121 ports = listOf (" 8080" )
2222
2323 environment = mapOf (
24- " SPRING_PROFILES_ACTIVE" to " production"
24+ " SPRING_PROFILES_ACTIVE" to " production" ,
25+ " SERVER_ADDRESS" to " 0.0.0.0"
2526 )
2627 user = " 1000"
2728
2829 creationTime = " USE_CURRENT_TIMESTAMP"
30+
31+ jvmFlags = listOf (
32+ " -XX:+UseContainerSupport" ,
33+ )
2934 }
3035
3136
Original file line number Diff line number Diff line change @@ -14,11 +14,16 @@ jib {
1414 ports = listOf (" 8082" )
1515
1616 environment = mapOf (
17- " SPRING_PROFILES_ACTIVE" to " production"
17+ " SPRING_PROFILES_ACTIVE" to " production" ,
18+ " SERVER_ADDRESS" to " 0.0.0.0"
1819 )
1920 user = " 1000"
2021
2122 creationTime = " USE_CURRENT_TIMESTAMP"
23+
24+ jvmFlags = listOf (
25+ " -XX:+UseContainerSupport" ,
26+ )
2227 }
2328
2429 dockerClient {
Original file line number Diff line number Diff line change @@ -10,11 +10,16 @@ jib {
1010 ports = listOf (" 8081" )
1111
1212 environment = mapOf (
13- " SPRING_PROFILES_ACTIVE" to " production"
13+ " SPRING_PROFILES_ACTIVE" to " production" ,
14+ " SERVER_ADDRESS" to " 0.0.0.0"
1415 )
1516 user = " 1000"
1617
1718 creationTime = " USE_CURRENT_TIMESTAMP"
19+
20+ jvmFlags = listOf (
21+ " -XX:+UseContainerSupport" ,
22+ )
1823 }
1924
2025 dockerClient {
You can’t perform that action at this time.
0 commit comments