Skip to content

Commit 79d89aa

Browse files
authored
Merge pull request #109 from AET-DevOps25/feature/convert-server-to-ms
Listen 0.0.0.0 on microservices
2 parents 4167b06 + 7aaecd3 commit 79d89aa

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

server/api-gw/build.gradle.kts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff 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

server/chat/build.gradle.kts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff 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 {

server/user/build.gradle.kts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)