The docker container port doesn't bind as I set the property:
quarkus: datasource: devservices: port: 5432(of course the valid yaml format I just don't know how to present in the board)
Meanwhile if I switch to the application.properites like this quarkus.datasource.devservices.port=5432 it did work.
Expected behavior
port bind to a static port number 5432.
Actual behavior
random port number is used.
How to Reproduce?
No response
Output of uname -a or ver
Linux nd-work 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Output of java -version
openjdk version "17.0.3" 2022-04-19 OpenJDK Runtime Environment GraalVM CE 21.3.2 (build 17.0.3+7-jvmci-21.3-b14) OpenJDK 64-Bit Server VM GraalVM CE 21.3.2 (build 17.0.3+7-jvmci-21.3-b14, mixed mode, sharing)
GraalVM version (if different from Java)
21.3.2.r11-grl
Quarkus version or git rev
2.11.2.Final
Build tool (ie. output of mvnw --version or gradlew --version)
------------------------------------------------------------ Gradle 7.4.2 ------------------------------------------------------------ Build time: 2022-03-31 15:25:29 UTC Revision: 540473b8118064efcc264694cbcaa4b677f61041 Kotlin: 1.5.31 Groovy: 3.0.9 Ant: Apache Ant(TM) version 1.10.11 compiled on July 10 2021 JVM: 17.0.3 (GraalVM Community 17.0.3+7-jvmci-21.3-b14) OS: Linux 5.15.0-46-generic amd64
Additional information
The issue is generic, it's not specific to one property mentioned above but other properties like quarkus.devservices.enabled=false in yml format was not working too.
Describe the bug
The docker container port doesn't bind as I set the property:
quarkus: datasource: devservices: port: 5432
(of course the valid yaml format I just don't know how to present in the board)Meanwhile if I switch to the application.properites like this
quarkus.datasource.devservices.port=5432
it did work.Expected behavior
port bind to a static port number 5432.
Actual behavior
random port number is used.
How to Reproduce?
No response
Output of
uname -a
orver
Linux nd-work 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk version "17.0.3" 2022-04-19 OpenJDK Runtime Environment GraalVM CE 21.3.2 (build 17.0.3+7-jvmci-21.3-b14) OpenJDK 64-Bit Server VM GraalVM CE 21.3.2 (build 17.0.3+7-jvmci-21.3-b14, mixed mode, sharing)
GraalVM version (if different from Java)
21.3.2.r11-grl
Quarkus version or git rev
2.11.2.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)------------------------------------------------------------ Gradle 7.4.2 ------------------------------------------------------------ Build time: 2022-03-31 15:25:29 UTC Revision: 540473b8118064efcc264694cbcaa4b677f61041 Kotlin: 1.5.31 Groovy: 3.0.9 Ant: Apache Ant(TM) version 1.10.11 compiled on July 10 2021 JVM: 17.0.3 (GraalVM Community 17.0.3+7-jvmci-21.3-b14) OS: Linux 5.15.0-46-generic amd64
Additional information
The issue is generic, it's not specific to one property mentioned above but other properties like quarkus.devservices.enabled=false in yml format was not working too.