Package io.quarkus.mongodb.deployment
Interface DevServicesBuildTimeConfig
public interface DevServicesBuildTimeConfig
-
Method Summary
Modifier and TypeMethodDescriptionEnvironment variables that are passed to the container.enabled()If DevServices has been explicitly enabled or disabled.The container image name to use, for container based DevServices providers.port()Optional fixed port the dev service will listen to.Generic properties that are added to the connection URL.The value of thequarkus-dev-service-mongodblabel attached to the started container.booleanshared()Indicates if the MongoDB server managed by Quarkus Dev Services is shared.
-
Method Details
-
enabled
If DevServices has been explicitly enabled or disabled. DevServices is generally enabled by default, unless there is an existing configuration present.When DevServices is enabled Quarkus will attempt to automatically configure and start a database when running in Dev or Test mode.
-
imageName
The container image name to use, for container based DevServices providers. -
port
Optional fixed port the dev service will listen to.If not defined, the port will be chosen randomly.
-
properties
Generic properties that are added to the connection URL. -
containerEnv
Environment variables that are passed to the container. -
serviceName
The value of thequarkus-dev-service-mongodblabel attached to the started container. This property is used whensharedis set totrue. In this case, before starting a container, Dev Services for MongoDB looks for a container with thequarkus-dev-service-mongodblabel set to the configured value. If found, it will use this container instead of starting a new one. Otherwise it starts a new container with thequarkus-dev-service-mongodblabel set to the specified value.
-