Closed m4rchetto closed 2 years ago
/cc @evanchooly, @loicmathieu, @stuartwdouglas
Can you please try and clarify a bit? Unfortunately I wasn't able to understand from the description what is going on
The property quarkus.mongodb.devservices.enabled=true is not working in our quarkus application (2.6.3.Final)
The docker mongo container is not running https://quarkus.io/guides/mongodb#running-a-mongodb-database
if we run the command: docker run -ti --rm -p 27017:27017 mongo:4.0 the docker image is created, but the documentation writes that with devservices enabled that command is not necessary to start the container.
The problem is that the container with devservices enable is not starting.
I don't know if is a configuration mongo devservices problem. However if can help, quarkus.datasource.devservices instead start container as expected
Thanks
I just tried the mongodb quickstart changed to use DevServices (by removing quarkus.mongodb.connection-string
) and playing with the different values of quarkus.mongodb.devservices.enabled
and it worked just fine.
I am going to close this issue, as it works as expected.
However, if you have a sample application that exhibits the problematic behavior, feel free to comment with a link to it.
to tell the truth I am having the same issue ... (I am using podman)
mongodb image is downloaded but container is not started
Doesn't work for me. Spent 18 hours on ivestigation and no luck
Describe the bug
Quarkus with dev profile or test profile not consider this property
quarkus.mongodb.devservices.enabled=true
Running @QuarkusTest with property
quarkus.mongodb.connection-string unset
, the docker image is not installed on docker.Running test we have:
On the other hand property quarkus.datasource.devservices seems to work properly
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response