# Dev Services overview

## What Are Dev Services?

Quarkus supports the automatic provisioning of unconfigured services in development and test mode. We refer to this capability as Dev Services. If you include an extension and don't configure it then Quarkus will automatically start the relevant service (usually using [Testcontainers](https://www.testcontainers.org/) behind the scenes) and wire up your application to use this service.

For a tutorial showing how to get started writing an application with persistence and Dev Services, see [Your Second Quarkus Application](/guides/getting-started-dev-services/index.md).

## Using Dev Services

Dev Services are designed to be frictionless, so they will be automatically started any time you include an extension which supports Dev Services, as long as you don't configure a connection to an external service.

> [!NOTE]
> In order to use most Dev Services you will need a working container environment (remote environments are supported). If you don't have a container environment, such as Docker or Podman, installed you will need to configure your services normally.

The default startup timeout for Dev Services is 60s, if this is not enough you can increase it with the `quarkus.devservices.timeout` property.

To configure a production service but continue to use Dev Services in development and test modes, use [configuration profiles](/guides/config-reference/index.md#default-profiles).

For example,

```properties
# configure your datasource
%prod.quarkus.datasource.db-kind = postgresql
%prod.quarkus.datasource.username = prod-admin
%prod.quarkus.datasource.password = super-secret
%prod.quarkus.datasource.jdbc.url = jdbc:postgresql://localhost:5432/mydatabase
```

## Disabling Dev Services

All this functionality is part of the Quarkus `deployment` modules, so does not affect the production application in any way. If you want to disable all Dev Services you can use the `quarkus.devservices.enabled=false` config property, although in most cases this is not necessary as simply configuring the service will result in the Dev Service being disabled automatically.

## Compose Dev Services

[Quarkus Compose Dev Services](/guides/compose-dev-services/index.md) allows you to define custom dev services using the [Compose specification](https://compose-spec.io/).

## Platform Dev Services

This section lists all the Dev Services available in the Quarkus Platform.

### AMQP

The AMQP Dev Service will be enabled when the `quarkus-messaging-amqp` extension is present in your application, and the broker address has not been explicitly configured. More information can be found in the [AMQP Dev Services Guide](/guides/amqp-dev-services/index.md).

[lock] Configuration property fixed at build time - All other configuration properties are overridable at runtime

|  |  |  |
| --- | --- | --- |
| <mark>Configuration property</mark> | Type | Default |
| [lock] <a id="quarkus-messaging-amqp_quarkus-amqp-devservices_quarkus-amqp-devservices-enabled"></a> [`quarkus.amqp.devservices.enabled`](#quarkus-messaging-amqp_quarkus-amqp-devservices_quarkus-amqp-devservices-enabled) config_property_copy_button:+++quarkus.amqp.devservices.enabled+++[]<br><br>If Dev Services for AMQP has been explicitly enabled or disabled. Dev Services are generally enabled by default, unless there is an existing configuration present. For AMQP, Dev Services starts a broker unless `amqp-host` or `amqp-port` are set or if all the Reactive Messaging AMQP channel are configured with `host` or `port`.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_AMQP_DEVSERVICES_ENABLED+++[] | boolean |  |
| [lock] <a id="quarkus-messaging-amqp_quarkus-amqp-devservices_quarkus-amqp-devservices-port"></a> [`quarkus.amqp.devservices.port`](#quarkus-messaging-amqp_quarkus-amqp-devservices_quarkus-amqp-devservices-port) config_property_copy_button:+++quarkus.amqp.devservices.port+++[]<br><br>Optional fixed port the dev service will listen to.<br><br>If not defined, the port will be chosen randomly.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_AMQP_DEVSERVICES_PORT+++[] | int |  |
| [lock] <a id="quarkus-messaging-amqp_quarkus-amqp-devservices_quarkus-amqp-devservices-image-name"></a> [`quarkus.amqp.devservices.image-name`](#quarkus-messaging-amqp_quarkus-amqp-devservices_quarkus-amqp-devservices-image-name) config_property_copy_button:+++quarkus.amqp.devservices.image-name+++[]<br><br>The image to use. Note that only ActiveMQ Artemis images are supported. Specifically, the image repository must end with `artemiscloud/activemq-artemis-broker`.<br><br>Check the [activemq-artemis-broker on Quay page](https://quay.io/repository/artemiscloud/activemq-artemis-broker) to find the available versions.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_AMQP_DEVSERVICES_IMAGE_NAME+++[] | string | `quay.io/arkmq-org/arkmq-org-broker:artemis.2.57.0` |
| [lock] <a id="quarkus-messaging-amqp_quarkus-amqp-devservices_quarkus-amqp-devservices-extra-args"></a> [`quarkus.amqp.devservices.extra-args`](#quarkus-messaging-amqp_quarkus-amqp-devservices_quarkus-amqp-devservices-extra-args) config_property_copy_button:+++quarkus.amqp.devservices.extra-args+++[]<br><br>The value of the `AMQ_EXTRA_ARGS` environment variable to pass to the container. For ActiveMQ Artemis Broker \<= 1.0.21, set this property to `--no-autotune --mapped --no-fsync --relax-jolokia --http-host 0.0.0.0`<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_AMQP_DEVSERVICES_EXTRA_ARGS+++[] | string | `--no-autotune --mapped --no-fsync --relax-jolokia` |
| [lock] <a id="quarkus-messaging-amqp_quarkus-amqp-devservices_quarkus-amqp-devservices-shared"></a> [`quarkus.amqp.devservices.shared`](#quarkus-messaging-amqp_quarkus-amqp-devservices_quarkus-amqp-devservices-shared) config_property_copy_button:+++quarkus.amqp.devservices.shared+++[]<br><br>Indicates if the AMQP broker managed by Quarkus Dev Services is shared. When shared, Quarkus looks for running containers using label-based service discovery. If a matching container is found, it is used, and so a second one is not started. Otherwise, Dev Services for AMQP starts a new container.<br><br>The discovery uses the `quarkus-dev-service-amqp` label. The value is configured using the `service-name` property.<br><br>Container sharing is only used in dev mode.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_AMQP_DEVSERVICES_SHARED+++[] | boolean | `true` |
| [lock] <a id="quarkus-messaging-amqp_quarkus-amqp-devservices_quarkus-amqp-devservices-service-name"></a> [`quarkus.amqp.devservices.service-name`](#quarkus-messaging-amqp_quarkus-amqp-devservices_quarkus-amqp-devservices-service-name) config_property_copy_button:+++quarkus.amqp.devservices.service-name+++[]<br><br>The value of the `quarkus-dev-service-aqmp` label attached to the started container. This property is used when `shared` is set to `true`. In this case, before starting a container, Dev Services for AMQP looks for a container with the `quarkus-dev-service-amqp` label 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 the `quarkus-dev-service-amqp` label set to the specified value.<br><br>This property is used when you need multiple shared AMQP brokers.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_AMQP_DEVSERVICES_SERVICE_NAME+++[] | string | `amqp` |
| [lock] <a id="quarkus-messaging-amqp_quarkus-amqp-devservices_quarkus-amqp-devservices-container-env-environment-variable-name"></a> [`quarkus.amqp.devservices.container-env."environment-variable-name"`](#quarkus-messaging-amqp_quarkus-amqp-devservices_quarkus-amqp-devservices-container-env-environment-variable-name) config_property_copy_button:+++quarkus.amqp.devservices.container-env."environment-variable-name"+++[]<br><br>Environment variables that are passed to the container.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_AMQP_DEVSERVICES_CONTAINER_ENV__ENVIRONMENT_VARIABLE_NAME_+++[] | Map\<String,String> |  |

### Apicurio Registry

The Apicurio Dev Service will be enabled when the `quarkus-apicurio-registry-avro` extension is present in your application, and it's address has not been explicitly configured. More information can be found in the [Apicurio Registry Dev Services Guide](/guides/apicurio-registry-dev-services/index.md).

[lock] Configuration property fixed at build time - All other configuration properties are overridable at runtime

|  |  |  |
| --- | --- | --- |
| <mark>Configuration property</mark> | Type | Default |
| [lock] <a id="quarkus-schema-registry-devservice_quarkus-apicurio-registry-devservices_quarkus-apicurio-registry-devservices-enabled"></a> [`quarkus.apicurio-registry.devservices.enabled`](#quarkus-schema-registry-devservice_quarkus-apicurio-registry-devservices_quarkus-apicurio-registry-devservices-enabled) config_property_copy_button:+++quarkus.apicurio-registry.devservices.enabled+++[]<br><br>If Dev Services for Apicurio Registry has been explicitly enabled or disabled. Dev Services are generally enabled by default, unless there is an existing configuration present. For Apicurio Registry, Dev Services starts a registry unless `mp.messaging.connector.smallrye-kafka.apicurio.registry.url` or `mp.messaging.connector.smallrye-kafka.schema.registry.url` is set.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_APICURIO_REGISTRY_DEVSERVICES_ENABLED+++[] | boolean |  |
| [lock] <a id="quarkus-schema-registry-devservice_quarkus-apicurio-registry-devservices_quarkus-apicurio-registry-devservices-port"></a> [`quarkus.apicurio-registry.devservices.port`](#quarkus-schema-registry-devservice_quarkus-apicurio-registry-devservices_quarkus-apicurio-registry-devservices-port) config_property_copy_button:+++quarkus.apicurio-registry.devservices.port+++[]<br><br>Optional fixed port the dev service will listen to.<br><br>If not defined, the port will be chosen randomly.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_APICURIO_REGISTRY_DEVSERVICES_PORT+++[] | int |  |
| [lock] <a id="quarkus-schema-registry-devservice_quarkus-apicurio-registry-devservices_quarkus-apicurio-registry-devservices-image-name"></a> [`quarkus.apicurio-registry.devservices.image-name`](#quarkus-schema-registry-devservice_quarkus-apicurio-registry-devservices_quarkus-apicurio-registry-devservices-image-name) config_property_copy_button:+++quarkus.apicurio-registry.devservices.image-name+++[]<br><br>The Apicurio Registry image to use. Note that only Apicurio Registry 3.x images are supported. Specifically, the image repository must end with `apicurio/apicurio-registry`.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_APICURIO_REGISTRY_DEVSERVICES_IMAGE_NAME+++[] | string | `quay.io/apicurio/apicurio-registry:3.3.1` |
| [lock] <a id="quarkus-schema-registry-devservice_quarkus-apicurio-registry-devservices_quarkus-apicurio-registry-devservices-shared"></a> [`quarkus.apicurio-registry.devservices.shared`](#quarkus-schema-registry-devservice_quarkus-apicurio-registry-devservices_quarkus-apicurio-registry-devservices-shared) config_property_copy_button:+++quarkus.apicurio-registry.devservices.shared+++[]<br><br>Indicates if the Apicurio Registry instance managed by Quarkus Dev Services is shared. When shared, Quarkus looks for running containers using label-based service discovery. If a matching container is found, it is used, and so a second one is not started. Otherwise, Dev Services for Apicurio Registry starts a new container.<br><br>The discovery uses the `quarkus-dev-service-apicurio-registry` label. The value is configured using the `service-name` property.<br><br>Container sharing is only used in dev mode.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_APICURIO_REGISTRY_DEVSERVICES_SHARED+++[] | boolean | `true` |
| [lock] <a id="quarkus-schema-registry-devservice_quarkus-apicurio-registry-devservices_quarkus-apicurio-registry-devservices-service-name"></a> [`quarkus.apicurio-registry.devservices.service-name`](#quarkus-schema-registry-devservice_quarkus-apicurio-registry-devservices_quarkus-apicurio-registry-devservices-service-name) config_property_copy_button:+++quarkus.apicurio-registry.devservices.service-name+++[]<br><br>The value of the `quarkus-dev-service-apicurio-registry` label attached to the started container. This property is used when `shared` is set to `true`. In this case, before starting a container, Dev Services for Apicurio Registry looks for a container with the `quarkus-dev-service-apicurio-registry` label 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 the `quarkus-dev-service-apicurio-registry` label set to the specified value.<br><br>This property is used when you need multiple shared Apicurio Registry instances.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_APICURIO_REGISTRY_DEVSERVICES_SERVICE_NAME+++[] | string | `apicurio-registry` |
| [lock] <a id="quarkus-schema-registry-devservice_quarkus-apicurio-registry-devservices_quarkus-apicurio-registry-devservices-container-env-environment-variable-name"></a> [`quarkus.apicurio-registry.devservices.container-env."environment-variable-name"`](#quarkus-schema-registry-devservice_quarkus-apicurio-registry-devservices_quarkus-apicurio-registry-devservices-container-env-environment-variable-name) config_property_copy_button:+++quarkus.apicurio-registry.devservices.container-env."environment-variable-name"+++[]<br><br>Environment variables that are passed to the container.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_APICURIO_REGISTRY_DEVSERVICES_CONTAINER_ENV__ENVIRONMENT_VARIABLE_NAME_+++[] | Map\<String,String> |  |

### Databases

The database Dev Services will be enabled when a reactive or JDBC datasource extension is present in the application, and the database URL has not been configured. More information can be found in the [Databases Dev Services Guide](/guides/databases-dev-services/index.md).

Quarkus provides Dev Services for all databases it supports. Most of these are run in a container, except H2 which is run in-process. Dev Services are supported for both JDBC and reactive drivers.

Those relational databases that are running in a container are started using Testcontainers and support "reusable instances"; this implies that if you add the property `testcontainers.reuse.enable=true` in your Testcontainers configuration file, a property file named `.testcontainers.properties` in your user home, then the databases will not be stopped aggressively after each run, and can be reused.

N.B. if you opt in for this feature, Quarkus will not reset the state of the database between runs unless you explicitly configure it to.

[lock] Configuration property fixed at build time - All other configuration properties are overridable at runtime

|  |  |  |
| --- | --- | --- |
| <mark>Configuration property</mark> | Type | Default |
| [lock] <a id="quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-enabled"></a> [`quarkus.datasource.devservices.enabled`](#quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-enabled) config_property_copy_button:+++quarkus.datasource.devservices.enabled+++[]<br><br>`quarkus.datasource."datasource-name".devservices.enabled` config_property_copy_button:+++quarkus.datasource."datasource-name".devservices.enabled+++[]<br><br>Whether this Dev Service should start with the application in dev mode or tests.<br><br>Dev Services are enabled by default unless connection configuration (e.g. the JDBC URL or reactive client URL) is set explicitly.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_DATASOURCE_DEVSERVICES_ENABLED+++[] | boolean |  |
| [lock] <a id="quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-image-name"></a> [`quarkus.datasource.devservices.image-name`](#quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-image-name) config_property_copy_button:+++quarkus.datasource.devservices.image-name+++[]<br><br>`quarkus.datasource."datasource-name".devservices.image-name` config_property_copy_button:+++quarkus.datasource."datasource-name".devservices.image-name+++[]<br><br>The container image name for container-based Dev Service providers.<br><br>This has no effect if the provider is not a container-based database, such as H2 or Derby.<br><br>Defaults depend on the configured `datasource`:<br><br>- DB2: `icr.io/db2_community/db2:12.1.5.0`<br>- MariaDB: `docker.io/library/mariadb:12.3`<br>- Microsoft SQL Server: `{mssql-image}`\<br>On ARM (aarch64),`mcr.microsoft.com/azure-sql-edge:latest` is used instead, because the standard MS SQL Server image does not run on ARM.<br>- MySQL: `docker.io/library/mysql:9.7`<br>- Oracle Express Edition: `docker.io/gvenzl/oracle-free:23-slim-faststart`<br>- PostgreSQL: `docker.io/library/postgres:18`<br><br>For certain databases, the default image may be automatically adjusted based on required database features (e.g., spatial or vector support). Explicitly setting this property overrides the automatic image selection.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_DATASOURCE_DEVSERVICES_IMAGE_NAME+++[] | string | `` Depends on `db-kind`, see description. `` |
| [lock] <a id="quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-container-env-environment-variable-name"></a> [`quarkus.datasource.devservices.container-env."environment-variable-name"`](#quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-container-env-environment-variable-name) config_property_copy_button:+++quarkus.datasource.devservices.container-env."environment-variable-name"+++[]<br><br>`quarkus.datasource."datasource-name".devservices.container-env."environment-variable-name"` config_property_copy_button:+++quarkus.datasource."datasource-name".devservices.container-env."environment-variable-name"+++[]<br><br>Environment variables that are passed to the container.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_DATASOURCE_DEVSERVICES_CONTAINER_ENV__ENVIRONMENT_VARIABLE_NAME_+++[] | Map\<String,String> |  |
| [lock] <a id="quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-container-properties-property-key"></a> [`quarkus.datasource.devservices.container-properties."property-key"`](#quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-container-properties-property-key) config_property_copy_button:+++quarkus.datasource.devservices.container-properties."property-key"+++[]<br><br>`quarkus.datasource."datasource-name".devservices.container-properties."property-key"` config_property_copy_button:+++quarkus.datasource."datasource-name".devservices.container-properties."property-key"+++[]<br><br>Generic properties that are passed for additional container configuration.<br><br>Properties defined here are database-specific and are interpreted specifically in each database dev service implementation.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_DATASOURCE_DEVSERVICES_CONTAINER_PROPERTIES__PROPERTY_KEY_+++[] | Map\<String,String> |  |
| [lock] <a id="quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-properties-property-key"></a> [`quarkus.datasource.devservices.properties."property-key"`](#quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-properties-property-key) config_property_copy_button:+++quarkus.datasource.devservices.properties."property-key"+++[]<br><br>`quarkus.datasource."datasource-name".devservices.properties."property-key"` config_property_copy_button:+++quarkus.datasource."datasource-name".devservices.properties."property-key"+++[]<br><br>Generic properties that are added to the database connection URL.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_DATASOURCE_DEVSERVICES_PROPERTIES__PROPERTY_KEY_+++[] | Map\<String,String> |  |
| [lock] <a id="quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-port"></a> [`quarkus.datasource.devservices.port`](#quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-port) config_property_copy_button:+++quarkus.datasource.devservices.port+++[]<br><br>`quarkus.datasource."datasource-name".devservices.port` config_property_copy_button:+++quarkus.datasource."datasource-name".devservices.port+++[]<br><br>Optional fixed port the dev service will listen to.<br><br>If not defined, the port will be chosen randomly.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_DATASOURCE_DEVSERVICES_PORT+++[] | int |  |
| [lock] <a id="quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-command"></a> [`quarkus.datasource.devservices.command`](#quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-command) config_property_copy_button:+++quarkus.datasource.devservices.command+++[]<br><br>`quarkus.datasource."datasource-name".devservices.command` config_property_copy_button:+++quarkus.datasource."datasource-name".devservices.command+++[]<br><br>The container start command to use for container-based Dev Service providers.<br><br>This has no effect if the provider is not a container-based database, such as H2 or Derby.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_DATASOURCE_DEVSERVICES_COMMAND+++[] | string |  |
| [lock] <a id="quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-db-name"></a> [`quarkus.datasource.devservices.db-name`](#quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-db-name) config_property_copy_button:+++quarkus.datasource.devservices.db-name+++[]<br><br>`quarkus.datasource."datasource-name".devservices.db-name` config_property_copy_button:+++quarkus.datasource."datasource-name".devservices.db-name+++[]<br><br>The database name to use if this Dev Service supports overriding it.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_DATASOURCE_DEVSERVICES_DB_NAME+++[] | string |  |
| [lock] <a id="quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-username"></a> [`quarkus.datasource.devservices.username`](#quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-username) config_property_copy_button:+++quarkus.datasource.devservices.username+++[]<br><br>`quarkus.datasource."datasource-name".devservices.username` config_property_copy_button:+++quarkus.datasource."datasource-name".devservices.username+++[]<br><br>The username to use if this Dev Service supports overriding it.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_DATASOURCE_DEVSERVICES_USERNAME+++[] | string |  |
| [lock] <a id="quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-password"></a> [`quarkus.datasource.devservices.password`](#quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-password) config_property_copy_button:+++quarkus.datasource.devservices.password+++[]<br><br>`quarkus.datasource."datasource-name".devservices.password` config_property_copy_button:+++quarkus.datasource."datasource-name".devservices.password+++[]<br><br>The password to use if this Dev Service supports overriding it.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_DATASOURCE_DEVSERVICES_PASSWORD+++[] | string |  |
| [lock] <a id="quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-init-script-path"></a> [`quarkus.datasource.devservices.init-script-path`](#quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-init-script-path) config_property_copy_button:+++quarkus.datasource.devservices.init-script-path+++[]<br><br>`quarkus.datasource."datasource-name".devservices.init-script-path` config_property_copy_button:+++quarkus.datasource."datasource-name".devservices.init-script-path+++[]<br><br>The paths to SQL scripts to be loaded from the classpath and applied to the Dev Service database.<br><br>This has no effect if the provider is not a container-based database, such as H2 or Derby.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_DATASOURCE_DEVSERVICES_INIT_SCRIPT_PATH+++[] | list of string |  |
| [lock] <a id="quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-init-privileged-script-path"></a> [`quarkus.datasource.devservices.init-privileged-script-path`](#quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-init-privileged-script-path) config_property_copy_button:+++quarkus.datasource.devservices.init-privileged-script-path+++[]<br><br>`quarkus.datasource."datasource-name".devservices.init-privileged-script-path` config_property_copy_button:+++quarkus.datasource."datasource-name".devservices.init-privileged-script-path+++[]<br><br>The paths to SQL scripts to be loaded from the classpath and applied to the Dev Service database using the SYS privileged user. Not all databases provide a privileged user. In these cases, the property is ignored. This has no effect if the provider is not a container-based database, such as H2 or Derby.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_DATASOURCE_DEVSERVICES_INIT_PRIVILEGED_SCRIPT_PATH+++[] | list of string |  |
| [lock] <a id="quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-volumes-host-path"></a> [`quarkus.datasource.devservices.volumes."host-path"`](#quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-volumes-host-path) config_property_copy_button:+++quarkus.datasource.devservices.volumes."host-path"+++[]<br><br>`quarkus.datasource."datasource-name".devservices.volumes."host-path"` config_property_copy_button:+++quarkus.datasource."datasource-name".devservices.volumes."host-path"+++[]<br><br>The volumes to be mapped to the container.<br><br>The map key corresponds to the host location; the map value is the container location. If the host location starts with "classpath:", the mapping loads the resource from the classpath with read-only permission.<br><br>When using a file system location, the volume will be generated with read-write permission, potentially leading to data loss or modification in your file system.<br><br>This has no effect if the provider is not a container-based database, such as H2 or Derby.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_DATASOURCE_DEVSERVICES_VOLUMES__HOST_PATH_+++[] | Map\<String,String> |  |
| [lock] <a id="quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-reuse"></a> [`quarkus.datasource.devservices.reuse`](#quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-reuse) config_property_copy_button:+++quarkus.datasource.devservices.reuse+++[]<br><br>`quarkus.datasource."datasource-name".devservices.reuse` config_property_copy_button:+++quarkus.datasource."datasource-name".devservices.reuse+++[]<br><br>Whether to keep Dev Service containers running **after a dev mode session or test suite execution** to reuse them in the next dev mode session or test suite execution.<br><br>Within a dev mode session or test suite execution, Quarkus will always reuse Dev Services as long as their configuration (username, password, environment, port bindings, ...) did not change. This feature is specifically about keeping containers running **when Quarkus is not running** to reuse them across runs.<br><br>> [!WARNING]<br>> This feature needs to be enabled explicitly in `testcontainers.properties`, may require changes to how you configure data initialization in dev mode and tests, and may leave containers running indefinitely, forcing you to stop and remove them manually. See [this section of the documentation](/guides/databases-dev-services/index.md#reuse) for more information.<br><br>This configuration property is set to `true` by default, so it is mostly useful to **disable** reuse, if you enabled it in `testcontainers.properties` but only want to use it for some of your Quarkus applications or datasources.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_DATASOURCE_DEVSERVICES_REUSE+++[] | boolean | `true` |
| [lock] <a id="quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-show-logs"></a> [`quarkus.datasource.devservices.show-logs`](#quarkus-datasource_quarkus-datasource-devservices_quarkus-datasource-devservices-show-logs) config_property_copy_button:+++quarkus.datasource.devservices.show-logs+++[]<br><br>`quarkus.datasource."datasource-name".devservices.show-logs` config_property_copy_button:+++quarkus.datasource."datasource-name".devservices.show-logs+++[]<br><br>Whether the logs should be consumed by the JBoss logger.<br><br>This has no effect if the provider is not a container-based database, such as H2 or Derby.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_DATASOURCE_DEVSERVICES_SHOW_LOGS+++[] | boolean | `false` |

### Kafka

The Kafka Dev Service will be enabled when the `quarkus-kafka-client` extension is present in your application, and the broker address has not been explicitly configured. More information can be found in the [Kafka Dev Services Guide](/guides/kafka-dev-services/index.md).

[lock] Configuration property fixed at build time - All other configuration properties are overridable at runtime

|  |  |  |
| --- | --- | --- |
| <mark>Configuration property</mark> | Type | Default |
| [lock] <a id="quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-enabled"></a> [`quarkus.kafka.devservices.enabled`](#quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-enabled) config_property_copy_button:+++quarkus.kafka.devservices.enabled+++[]<br><br>If Dev Services for Kafka has been explicitly enabled or disabled. Dev Services are generally enabled by default, unless there is an existing configuration present. For Kafka, Dev Services starts a broker unless `kafka.bootstrap.servers` is set or if all the Reactive Messaging Kafka channel are configured with a `bootstrap.servers`.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KAFKA_DEVSERVICES_ENABLED+++[] | boolean |  |
| [lock] <a id="quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-port"></a> [`quarkus.kafka.devservices.port`](#quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-port) config_property_copy_button:+++quarkus.kafka.devservices.port+++[]<br><br>Optional fixed port the dev service will listen to.<br><br>If not defined, the port will be chosen randomly.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KAFKA_DEVSERVICES_PORT+++[] | int |  |
| [lock] <a id="quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-provider"></a> [`quarkus.kafka.devservices.provider`](#quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-provider) config_property_copy_button:+++quarkus.kafka.devservices.provider+++[]<br><br>Kafka dev service container type.<br><br>Redpanda, Strimzi, kafka-native and upstream kafka container providers are supported. Default is upstream-kafka-native.<br><br>For Redpanda: See <https://docs.redpanda.com/current/get-started/quick-start/> and <https://hub.docker.com/r/redpandadata/redpanda><br><br>For Strimzi: See <https://github.com/strimzi/test-container> and <https://quay.io/repository/strimzi-test-container/test-container><br><br>For Kafka Native: See <https://github.com/ozangunalp/kafka-native> and <https://quay.io/repository/ogunalp/kafka-native><br><br>For Upstream Kafka: See <https://hub.docker.com/r/apache/kafka> and <https://hub.docker.com/r/apache/kafka-native><br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KAFKA_DEVSERVICES_PROVIDER+++[] | `redpanda`, `strimzi`, `kafka-native`, `upstream-kafka`, `upstream-kafka-native` | `upstream-kafka-native` |
| [lock] <a id="quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-image-name"></a> [`quarkus.kafka.devservices.image-name`](#quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-image-name) config_property_copy_button:+++quarkus.kafka.devservices.image-name+++[]<br><br>The Kafka container image to use.<br><br>Dependent on the provider.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KAFKA_DEVSERVICES_IMAGE_NAME+++[] | string |  |
| [lock] <a id="quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-shared"></a> [`quarkus.kafka.devservices.shared`](#quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-shared) config_property_copy_button:+++quarkus.kafka.devservices.shared+++[]<br><br>Indicates if the Kafka broker managed by Quarkus Dev Services is shared. When shared, Quarkus looks for running containers using label-based service discovery. If a matching container is found, it is used, and so a second one is not started. Otherwise, Dev Services for Kafka starts a new container.<br><br>The discovery uses the `quarkus-dev-service-kafka` label. The value is configured using the `service-name` property.<br><br>Container sharing is only used in dev mode.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KAFKA_DEVSERVICES_SHARED+++[] | boolean | `true` |
| [lock] <a id="quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-service-name"></a> [`quarkus.kafka.devservices.service-name`](#quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-service-name) config_property_copy_button:+++quarkus.kafka.devservices.service-name+++[]<br><br>The value of the `quarkus-dev-service-kafka` label attached to the started container. This property is used when `shared` is set to `true`. In this case, before starting a container, Dev Services for Kafka looks for a container with the `quarkus-dev-service-kafka` label 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 the `quarkus-dev-service-kafka` label set to the specified value.<br><br>This property is used when you need multiple shared Kafka brokers.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KAFKA_DEVSERVICES_SERVICE_NAME+++[] | string | `kafka` |
| [lock] <a id="quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-topic-partitions-topic-name"></a> [`quarkus.kafka.devservices.topic-partitions."topic-name"`](#quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-topic-partitions-topic-name) config_property_copy_button:+++quarkus.kafka.devservices.topic-partitions."topic-name"+++[]<br><br>The topic-partition pairs to create in the Dev Services Kafka broker. After the broker is started, given topics with partitions are created, skipping already existing topics. For example, `quarkus.kafka.devservices.topic-partitions.my-topic=2` will create a topic named `test` with 2 partitions.<br><br>The topic creation will not try to re-partition existing topics with different number of partitions.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KAFKA_DEVSERVICES_TOPIC_PARTITIONS__TOPIC_NAME_+++[] | Map\<String,Integer> |  |
| [lock] <a id="quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-topic-partitions-timeout"></a> [`quarkus.kafka.devservices.topic-partitions-timeout`](#quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-topic-partitions-timeout) config_property_copy_button:+++quarkus.kafka.devservices.topic-partitions-timeout+++[]<br><br>Timeout for admin client calls used in topic creation.<br><br>Defaults to 2 seconds.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KAFKA_DEVSERVICES_TOPIC_PARTITIONS_TIMEOUT+++[] | [Duration](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html) [[question circle]](#duration-note-anchor-quarkus-kafka-client_quarkus-kafka-devservices) | `2S` |
| [lock] <a id="quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-container-env-environment-variable-name"></a> [`quarkus.kafka.devservices.container-env."environment-variable-name"`](#quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-container-env-environment-variable-name) config_property_copy_button:+++quarkus.kafka.devservices.container-env."environment-variable-name"+++[]<br><br>Environment variables that are passed to the container.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KAFKA_DEVSERVICES_CONTAINER_ENV__ENVIRONMENT_VARIABLE_NAME_+++[] | Map\<String,String> |  |
| [lock] <a id="quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-redpanda-transaction-enabled"></a> [`quarkus.kafka.devservices.redpanda.transaction-enabled`](#quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-redpanda-transaction-enabled) config_property_copy_button:+++quarkus.kafka.devservices.redpanda.transaction-enabled+++[]<br><br>Enables transaction support. Also enables the producer idempotence. Find more info about Redpanda transaction support on <https://vectorized.io/blog/fast-transactions/>. Notice that [KIP-447 (producer scalability for exactly once semantic)](https://cwiki.apache.org/confluence/display/KAFKA/KIP-447%3A+Producer+scalability+for+exactly+once+semantics) and [KIP-360 (Improve reliability of idempotent/transactional producer)](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=89068820) are *not* supported.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KAFKA_DEVSERVICES_REDPANDA_TRANSACTION_ENABLED+++[] | boolean | `true` |
| [lock] <a id="quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-redpanda-proxy-port"></a> [`quarkus.kafka.devservices.redpanda.proxy-port`](#quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-redpanda-proxy-port) config_property_copy_button:+++quarkus.kafka.devservices.redpanda.proxy-port+++[]<br><br>Port to access the Redpanda HTTP Proxy ([pandaproxy](https://docs.redpanda.com/current/develop/http-proxy/)).<br><br>If not defined, the port will be chosen randomly.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KAFKA_DEVSERVICES_REDPANDA_PROXY_PORT+++[] | int |  |
| [lock] <a id="quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-strimzi-server-configs-server-configs"></a> [`quarkus.kafka.devservices.strimzi.server-configs."server-configs"`](#quarkus-kafka-client_quarkus-kafka-devservices_quarkus-kafka-devservices-strimzi-server-configs-server-configs) config_property_copy_button:+++quarkus.kafka.devservices.strimzi.server-configs."server-configs"+++[]<br><br>Configuration properties that will be added to the server properties file provided to the Kafka broker by the Strimzi provider.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KAFKA_DEVSERVICES_STRIMZI_SERVER_CONFIGS__SERVER_CONFIGS_+++[] | Map\<String,String> |  |

<a id="duration-note-anchor-quarkus-kafka-client_quarkus-kafka-devservices"></a>

> [!NOTE]
> **About the Duration format**
>
> To write duration values, use the standard `java.time.Duration` format. See the [Duration#parse() Java API documentation](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)) for more information.
>
> You can also use a simplified format, starting with a number:
>
> - If the value is only a number, it represents time in seconds.
> - If the value is a number followed by `ms`, it represents time in milliseconds.
>
> In other cases, the simplified format is translated to the `java.time.Duration` format for parsing:
>
> - If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`.
> - If the value is a number followed by `d`, it is prefixed with `P`.

<a id="keycloak"></a>
### Keycloak

The Keycloak Dev Service will be enabled when the `quarkus-oidc` extension is present in your application, and the server address has not been explicitly configured. More information can be found in the [OIDC Dev Services Guide](/guides/security-openid-connect-dev-services/index.md).

[lock] Configuration property fixed at build time - All other configuration properties are overridable at runtime

|  |  |  |
| --- | --- | --- |
| <mark>Configuration property</mark> | Type | Default |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-enabled"></a> [`quarkus.keycloak.devservices.enabled`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-enabled) config_property_copy_button:+++quarkus.keycloak.devservices.enabled+++[]<br><br>Flag to enable (default) or disable Dev Services. When enabled, Dev Services for Keycloak automatically configures and starts Keycloak in Dev or Test mode, and when Docker is running.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_ENABLED+++[] | boolean | `true` |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-image-name"></a> [`quarkus.keycloak.devservices.image-name`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-image-name) config_property_copy_button:+++quarkus.keycloak.devservices.image-name+++[]<br><br>The container image name for Dev Services providers. Defaults to a Quarkus-based Keycloak image. For a WildFly-based distribution, use an image like `quay.io/keycloak/keycloak:19.0.3-legacy`. Keycloak Quarkus and WildFly images are initialized differently. Dev Services for Keycloak will assume it is a Keycloak Quarkus image unless the image version ends with `-legacy`. Override with `quarkus.keycloak.devservices.keycloak-x-image`.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_IMAGE_NAME+++[] | string | `quay.io/keycloak/keycloak:26.8.2` |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-keycloak-x-image"></a> [`quarkus.keycloak.devservices.keycloak-x-image`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-keycloak-x-image) config_property_copy_button:+++quarkus.keycloak.devservices.keycloak-x-image+++[]<br><br>Indicates if a Keycloak-X image is used. By default, the image is identified by `keycloak-x` in the image name. For custom images, override with `quarkus.keycloak.devservices.keycloak-x-image`. You do not need to set this property if the default check works.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_KEYCLOAK_X_IMAGE+++[] | boolean |  |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-shared"></a> [`quarkus.keycloak.devservices.shared`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-shared) config_property_copy_button:+++quarkus.keycloak.devservices.shared+++[]<br><br>Determines if the Keycloak container is shared. When shared, Quarkus uses label-based service discovery to find and reuse a running Keycloak container, so a second one is not started. Otherwise, if a matching container is not is found, a new container is started. The service discovery uses the `quarkus-dev-service-label` label, whose value is set by the `service-name` property. Container sharing is available only in dev mode.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_SHARED+++[] | boolean | `true` |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-service-name"></a> [`quarkus.keycloak.devservices.service-name`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-service-name) config_property_copy_button:+++quarkus.keycloak.devservices.service-name+++[]<br><br>The value of the `quarkus-dev-service-keycloak` label for identifying the Keycloak container. Used in shared mode to locate an existing container with this label. If not found, a new container is initialized with this label. Applicable only in dev mode.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_SERVICE_NAME+++[] | string | `keycloak` |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-realm-path"></a> [`quarkus.keycloak.devservices.realm-path`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-realm-path) config_property_copy_button:+++quarkus.keycloak.devservices.realm-path+++[]<br><br>A comma-separated list of class or file system paths to Keycloak realm files. This list is used to initialize Keycloak. The first value in this list is used to initialize default tenant connection properties.<br><br>To learn more about Keycloak realm files, consult the [Importing and Exporting Keycloak Realms documentation](https://www.keycloak.org/server/importExport).<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_REALM_PATH+++[] | list of string |  |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-resource-aliases-alias-name"></a> [`quarkus.keycloak.devservices.resource-aliases."alias-name"`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-resource-aliases-alias-name) config_property_copy_button:+++quarkus.keycloak.devservices.resource-aliases."alias-name"+++[]<br><br>Aliases to additional class or file system resources that are used to initialize Keycloak. Each map entry represents a mapping between an alias and a class or file system resource path.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_RESOURCE_ALIASES__ALIAS_NAME_+++[] | Map\<String,String> |  |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-resource-mappings-resource-name"></a> [`quarkus.keycloak.devservices.resource-mappings."resource-name"`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-resource-mappings-resource-name) config_property_copy_button:+++quarkus.keycloak.devservices.resource-mappings."resource-name"+++[]<br><br>Additional class or file system resources that are used to initialize Keycloak. Each map entry represents a mapping between a class or file system resource path alias and the Keycloak container location.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_RESOURCE_MAPPINGS__RESOURCE_NAME_+++[] | Map\<String,String> |  |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-java-opts"></a> [`quarkus.keycloak.devservices.java-opts`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-java-opts) config_property_copy_button:+++quarkus.keycloak.devservices.java-opts+++[]<br><br>The `JAVA_OPTS` passed to the keycloak JVM<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_JAVA_OPTS+++[] | string |  |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-show-logs"></a> [`quarkus.keycloak.devservices.show-logs`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-show-logs) config_property_copy_button:+++quarkus.keycloak.devservices.show-logs+++[]<br><br>Show Keycloak log messages with a "Keycloak:" prefix.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_SHOW_LOGS+++[] | boolean | `false` |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-start-command"></a> [`quarkus.keycloak.devservices.start-command`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-start-command) config_property_copy_button:+++quarkus.keycloak.devservices.start-command+++[]<br><br>Keycloak start command. Use this property to experiment with Keycloak start options, see `https://www.keycloak.org/server/all-config`. Note, it is ignored when loading legacy Keycloak WildFly images.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_START_COMMAND+++[] | string |  |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-features"></a> [`quarkus.keycloak.devservices.features`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-features) config_property_copy_button:+++quarkus.keycloak.devservices.features+++[]<br><br>Keycloak features. Use this property to enable one or more experimental Keycloak features. Note, if you also have to customize a Keycloak `start-command()`, you can use a `--features` option as part of the start command sequence, instead of configuring this property.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_FEATURES+++[] | list of string |  |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-realm-name"></a> [`quarkus.keycloak.devservices.realm-name`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-realm-name) config_property_copy_button:+++quarkus.keycloak.devservices.realm-name+++[]<br><br>The name of the Keycloak realm. This property is used to create the realm if the realm file pointed to by the `realm-path` property does not exist. The default value is `quarkus` in this case. It is recommended to always set this property so that Dev Services for Keycloak can identify the realm name without parsing the realm file.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_REALM_NAME+++[] | string |  |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-create-realm"></a> [`quarkus.keycloak.devservices.create-realm`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-create-realm) config_property_copy_button:+++quarkus.keycloak.devservices.create-realm+++[]<br><br>Specifies whether to create the Keycloak realm when no realm file is found at the `realm-path`. Set to `false` if the realm is to be created using either the Keycloak Administration Console or the Keycloak Admin API provided by `io.quarkus.test.common.QuarkusTestResourceLifecycleManager`.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_CREATE_REALM+++[] | boolean | `true` |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-create-client"></a> [`quarkus.keycloak.devservices.create-client`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-create-client) config_property_copy_button:+++quarkus.keycloak.devservices.create-client+++[]<br><br>Specifies whether to create the default client id `quarkus-app` with a secret `secret` and register them if the `create-realm` property is set to true. For OIDC extension configuration properties `quarkus.oidc.client.id` and `quarkus.oidc.credentials.secret` will be configured. For OIDC Client extension configuration properties `quarkus.oidc-client.client.id` and `quarkus.oidc-client.credentials.secret` will be configured. Set to `false` if clients have to be created using either the Keycloak Administration Console or the Keycloak Admin API provided by `io.quarkus.test.common.QuarkusTestResourceLifecycleManager` or registered dynamically.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_CREATE_CLIENT+++[] | boolean | `true` |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-start-with-disabled-tenant"></a> [`quarkus.keycloak.devservices.start-with-disabled-tenant`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-start-with-disabled-tenant) config_property_copy_button:+++quarkus.keycloak.devservices.start-with-disabled-tenant+++[]<br><br>Specifies whether to start the container even if the default OIDC tenant is disabled. Setting this property to true may be necessary in a multi-tenant OIDC setup, especially when OIDC tenants are created dynamically.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_START_WITH_DISABLED_TENANT+++[] | boolean | `false` |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-users-users"></a> [`quarkus.keycloak.devservices.users."users"`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-users-users) config_property_copy_button:+++quarkus.keycloak.devservices.users."users"+++[]<br><br>A map of Keycloak usernames to passwords. If empty, default users `alice` and `bob` are created with their names as passwords. This map is used for user creation when no realm file is found at the `realm-path`.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_USERS__USERS_+++[] | Map\<String,String> |  |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-roles-role-name"></a> [`quarkus.keycloak.devservices.roles."role-name"`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-roles-role-name) config_property_copy_button:+++quarkus.keycloak.devservices.roles."role-name"+++[]<br><br>A map of roles for Keycloak users. If empty, default roles are assigned: `alice` receives `admin` and `user` roles, while other users receive `user` role. This map is used for role creation when no realm file is found at the `realm-path`.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_ROLES__ROLE_NAME_+++[] | Map\<String,List\<String>> |  |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-port"></a> [`quarkus.keycloak.devservices.port`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-port) config_property_copy_button:+++quarkus.keycloak.devservices.port+++[]<br><br>The specific port for the dev service to listen on.<br><br>If not specified, a random port is selected.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_PORT+++[] | int |  |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-container-env-environment-variable-name"></a> [`quarkus.keycloak.devservices.container-env."environment-variable-name"`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-container-env-environment-variable-name) config_property_copy_button:+++quarkus.keycloak.devservices.container-env."environment-variable-name"+++[]<br><br>Environment variables to be passed to the container.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_CONTAINER_ENV__ENVIRONMENT_VARIABLE_NAME_+++[] | Map\<String,String> |  |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-container-memory-limit"></a> [`quarkus.keycloak.devservices.container-memory-limit`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-container-memory-limit) config_property_copy_button:+++quarkus.keycloak.devservices.container-memory-limit+++[]<br><br>Memory limit for Keycloak container, up to `Long.MAX_VALUE` bytes.<br><br>If not specified, 1250MiB is the default memory limit.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_CONTAINER_MEMORY_LIMIT+++[] | MemorySize [[question circle]](#memory-size-note-anchor-quarkus-devservices-keycloak_quarkus-keycloak) | `1250M` |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-web-client-timeout"></a> [`quarkus.keycloak.devservices.web-client-timeout`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-web-client-timeout) config_property_copy_button:+++quarkus.keycloak.devservices.web-client-timeout+++[]<br><br>The WebClient timeout. Use this property to configure how long an HTTP client used by OIDC dev service admin client will wait for a response from OpenId Connect Provider when acquiring admin token and creating realm.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_WEB_CLIENT_TIMEOUT+++[] | [Duration](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html) [[question circle]](#duration-note-anchor-quarkus-devservices-keycloak_quarkus-keycloak) | `4S` |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-disable-https"></a> [`quarkus.keycloak.devservices.disable-https`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-disable-https) config_property_copy_button:+++quarkus.keycloak.devservices.disable-https+++[]<br><br>Specifies whether to disable HTTPS on the master realm by setting `sslRequired=NONE`. This is useful when the Keycloak container is started without HTTPS support and the master realm's default SSL requirement prevents HTTP access.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_DISABLE_HTTPS+++[] | boolean | `false` |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-host-accessible-ports"></a> [`quarkus.keycloak.devservices.host-accessible-ports`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-host-accessible-ports) config_property_copy_button:+++quarkus.keycloak.devservices.host-accessible-ports+++[]<br><br>The host ports to expose to the Keycloak container. When this list is non-empty, the host is made accessible from the container using the `host.testcontainers.internal` hostname, and only the listed ports are exposed. This may be necessary when Keycloak needs to make HTTP callbacks to the application running on the host.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_HOST_ACCESSIBLE_PORTS+++[] | list of int |  |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-access-token-lifespan"></a> [`quarkus.keycloak.devservices.access-token-lifespan`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-access-token-lifespan) config_property_copy_button:+++quarkus.keycloak.devservices.access-token-lifespan+++[]<br><br>The access token lifespan in the default realm.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_ACCESS_TOKEN_LIFESPAN+++[] | [Duration](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html) [[question circle]](#duration-note-anchor-quarkus-devservices-keycloak_quarkus-keycloak) | `10M` |
| [lock] <a id="quarkus-devservices-keycloak_quarkus-keycloak-devservices-sso-session-max-lifespan"></a> [`quarkus.keycloak.devservices.sso-session-max-lifespan`](#quarkus-devservices-keycloak_quarkus-keycloak-devservices-sso-session-max-lifespan) config_property_copy_button:+++quarkus.keycloak.devservices.sso-session-max-lifespan+++[]<br><br>The SSO session max lifespan in the default realm.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KEYCLOAK_DEVSERVICES_SSO_SESSION_MAX_LIFESPAN+++[] | [Duration](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html) [[question circle]](#duration-note-anchor-quarkus-devservices-keycloak_quarkus-keycloak) | `10M` |

<a id="duration-note-anchor-quarkus-devservices-keycloak_quarkus-keycloak"></a>

> [!NOTE]
> **About the Duration format**
>
> To write duration values, use the standard `java.time.Duration` format. See the [Duration#parse() Java API documentation](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)) for more information.
>
> You can also use a simplified format, starting with a number:
>
> - If the value is only a number, it represents time in seconds.
> - If the value is a number followed by `ms`, it represents time in milliseconds.
>
> In other cases, the simplified format is translated to the `java.time.Duration` format for parsing:
>
> - If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`.
> - If the value is a number followed by `d`, it is prefixed with `P`.

<a id="memory-size-note-anchor-quarkus-devservices-keycloak_quarkus-keycloak"></a>

> [!NOTE]
> **About the MemorySize format**
>
> A size configuration option recognizes strings in this format (shown as a regular expression): `[0-9]+[KkMmGgTtPpEeZzYy]?`.
>
> If no suffix is given, assume bytes.

A lightweight [OIDC Dev Service](#oidc) is also available as an alternative to Keycloak.

### Kubernetes

The Kubernetes Dev Service will be enabled when the `kubernetes-client` extension is present in your application, and the API server address has not been explicitly configured. More information can be found in the [Kubernetes Dev Services Guide](/guides/kubernetes-dev-services/index.md).

[lock] Configuration property fixed at build time - All other configuration properties are overridable at runtime

|  |  |  |
| --- | --- | --- |
| <mark>Configuration property</mark> | Type | Default |
| [lock] <a id="quarkus-kubernetes-client_quarkus-kubernetes-client-devservices_quarkus-kubernetes-client-devservices-enabled"></a> [`quarkus.kubernetes-client.devservices.enabled`](#quarkus-kubernetes-client_quarkus-kubernetes-client-devservices_quarkus-kubernetes-client-devservices-enabled) config_property_copy_button:+++quarkus.kubernetes-client.devservices.enabled+++[]<br><br>If Dev Services for Kubernetes should be used. (default to true)<br><br>If this is true and kubernetes client is not configured then a kubernetes cluster will be started and will be used.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KUBERNETES_CLIENT_DEVSERVICES_ENABLED+++[] | boolean | `true` |
| [lock] <a id="quarkus-kubernetes-client_quarkus-kubernetes-client-devservices_quarkus-kubernetes-client-devservices-api-version"></a> [`quarkus.kubernetes-client.devservices.api-version`](#quarkus-kubernetes-client_quarkus-kubernetes-client-devservices_quarkus-kubernetes-client-devservices-api-version) config_property_copy_button:+++quarkus.kubernetes-client.devservices.api-version+++[]<br><br>The kubernetes api server version to use.<br><br>If not set, Dev Services for Kubernetes will use the [latest supported version](https://github.com/dajudge/kindcontainer/blob/master/k8s-versions.json) of the given flavor.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KUBERNETES_CLIENT_DEVSERVICES_API_VERSION+++[] | string |  |
| [lock] <a id="quarkus-kubernetes-client_quarkus-kubernetes-client-devservices_quarkus-kubernetes-client-devservices-image-name"></a> [`quarkus.kubernetes-client.devservices.image-name`](#quarkus-kubernetes-client_quarkus-kubernetes-client-devservices_quarkus-kubernetes-client-devservices-image-name) config_property_copy_button:+++quarkus.kubernetes-client.devservices.image-name+++[]<br><br>The kubernetes image to use.<br><br>If not set, Dev Services for Kubernetes will use default image for the specified `api-version()` for the given `flavor()`.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KUBERNETES_CLIENT_DEVSERVICES_IMAGE_NAME+++[] | string |  |
| [lock] <a id="quarkus-kubernetes-client_quarkus-kubernetes-client-devservices_quarkus-kubernetes-client-devservices-flavor"></a> [`quarkus.kubernetes-client.devservices.flavor`](#quarkus-kubernetes-client_quarkus-kubernetes-client-devservices_quarkus-kubernetes-client-devservices-flavor) config_property_copy_button:+++quarkus.kubernetes-client.devservices.flavor+++[]<br><br>The flavor to use (kind, k3s or api-only).<br><br>If not set, Dev Services for Kubernetes will set it to: api-only.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KUBERNETES_CLIENT_DEVSERVICES_FLAVOR+++[] | tooltip:kind[kind (needs privileged docker)], tooltip:k3s[k3s (needs privileged docker)], tooltip:api-only[api only] |  |
| [lock] <a id="quarkus-kubernetes-client_quarkus-kubernetes-client-devservices_quarkus-kubernetes-client-devservices-override-kubeconfig"></a> [`quarkus.kubernetes-client.devservices.override-kubeconfig`](#quarkus-kubernetes-client_quarkus-kubernetes-client-devservices_quarkus-kubernetes-client-devservices-override-kubeconfig) config_property_copy_button:+++quarkus.kubernetes-client.devservices.override-kubeconfig+++[]<br><br>By default, if a kubeconfig is found, Dev Services for Kubernetes will not start. Set this to true to override the kubeconfig config.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KUBERNETES_CLIENT_DEVSERVICES_OVERRIDE_KUBECONFIG+++[] | boolean | `false` |
| [lock] <a id="quarkus-kubernetes-client_quarkus-kubernetes-client-devservices_quarkus-kubernetes-client-devservices-manifests"></a> [`quarkus.kubernetes-client.devservices.manifests`](#quarkus-kubernetes-client_quarkus-kubernetes-client-devservices_quarkus-kubernetes-client-devservices-manifests) config_property_copy_button:+++quarkus.kubernetes-client.devservices.manifests+++[]<br><br>A list of manifest file paths that should be applied to the Kubernetes cluster Dev Service on startup. If not set, no manifests are applied.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KUBERNETES_CLIENT_DEVSERVICES_MANIFESTS+++[] | list of string |  |
| [lock] <a id="quarkus-kubernetes-client_quarkus-kubernetes-client-devservices_quarkus-kubernetes-client-devservices-shared"></a> [`quarkus.kubernetes-client.devservices.shared`](#quarkus-kubernetes-client_quarkus-kubernetes-client-devservices_quarkus-kubernetes-client-devservices-shared) config_property_copy_button:+++quarkus.kubernetes-client.devservices.shared+++[]<br><br>Indicates if the Kubernetes cluster managed by Quarkus Dev Services is shared. When shared, Quarkus looks for running containers using label-based service discovery. If a matching container is found, it is used, and so a second one is not started. Otherwise, Dev Services for Kubernetes starts a new container.<br><br>The discovery uses the `quarkus-dev-service-kubernetes` label. The value is configured using the `service-name` property.<br><br>Container sharing is only used in dev mode.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KUBERNETES_CLIENT_DEVSERVICES_SHARED+++[] | boolean | `true` |
| [lock] <a id="quarkus-kubernetes-client_quarkus-kubernetes-client-devservices_quarkus-kubernetes-client-devservices-service-name"></a> [`quarkus.kubernetes-client.devservices.service-name`](#quarkus-kubernetes-client_quarkus-kubernetes-client-devservices_quarkus-kubernetes-client-devservices-service-name) config_property_copy_button:+++quarkus.kubernetes-client.devservices.service-name+++[]<br><br>The value of the `quarkus-dev-service-kubernetes` label attached to the started container. This property is used when `shared` is set to `true`. In this case, before starting a container, Dev Services for Kubernetes looks for a container with the `quarkus-dev-service-kubernetes` label 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 the `quarkus-dev-service-kubernetes` label set to the specified value.<br><br>This property is used when you need multiple shared Kubernetes clusters.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KUBERNETES_CLIENT_DEVSERVICES_SERVICE_NAME+++[] | string | `kubernetes` |
| [lock] <a id="quarkus-kubernetes-client_quarkus-kubernetes-client-devservices_quarkus-kubernetes-client-devservices-container-env-environment-variable-name"></a> [`quarkus.kubernetes-client.devservices.container-env."environment-variable-name"`](#quarkus-kubernetes-client_quarkus-kubernetes-client-devservices_quarkus-kubernetes-client-devservices-container-env-environment-variable-name) config_property_copy_button:+++quarkus.kubernetes-client.devservices.container-env."environment-variable-name"+++[]<br><br>Environment variables that are passed to the container.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_KUBERNETES_CLIENT_DEVSERVICES_CONTAINER_ENV__ENVIRONMENT_VARIABLE_NAME_+++[] | Map\<String,String> |  |

### LRA

The Narayana LRA Dev Service will be enabled when the `quarkus-narayana-lra` extension is present in your application, and the coordinator URL has not been explicitly configured. More information can be found in the [Narayana LRA Dev Services Guide](/guides/lra-dev-services/index.md).

[lock] Configuration property fixed at build time - All other configuration properties are overridable at runtime

|  |  |  |
| --- | --- | --- |
| <mark>Configuration property</mark> | Type | Default |
| [lock] <a id="quarkus-narayana-lra_quarkus-lra-devservices_quarkus-lra-devservices-enabled"></a> [`quarkus.lra.devservices.enabled`](#quarkus-narayana-lra_quarkus-lra-devservices_quarkus-lra-devservices-enabled) config_property_copy_button:+++quarkus.lra.devservices.enabled+++[]<br><br>If Dev Services for the LRA coordinator has been explicitly enabled or disabled. For the LRA coordinator, the Dev Services is disabled if this property is false or if the `quarkus.lra.coordinator-url` configuration property is defined.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_LRA_DEVSERVICES_ENABLED+++[] | boolean | `true` |
| [lock] <a id="quarkus-narayana-lra_quarkus-lra-devservices_quarkus-lra-devservices-port"></a> [`quarkus.lra.devservices.port`](#quarkus-narayana-lra_quarkus-lra-devservices_quarkus-lra-devservices-port) config_property_copy_button:+++quarkus.lra.devservices.port+++[]<br><br>Optional fixed port the Dev Services will listen to.<br><br>If not defined, the port will be chosen randomly.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_LRA_DEVSERVICES_PORT+++[] | int |  |
| [lock] <a id="quarkus-narayana-lra_quarkus-lra-devservices_quarkus-lra-devservices-image-name"></a> [`quarkus.lra.devservices.image-name`](#quarkus-narayana-lra_quarkus-lra-devservices_quarkus-lra-devservices-image-name) config_property_copy_button:+++quarkus.lra.devservices.image-name+++[]<br><br>Optional override of the LRA coordinator container image to use.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_LRA_DEVSERVICES_IMAGE_NAME+++[] | string | `quay.io/jbosstm/lra-coordinator:latest` |
| [lock] <a id="quarkus-narayana-lra_quarkus-lra-devservices_quarkus-lra-devservices-shared"></a> [`quarkus.lra.devservices.shared`](#quarkus-narayana-lra_quarkus-lra-devservices_quarkus-lra-devservices-shared) config_property_copy_button:+++quarkus.lra.devservices.shared+++[]<br><br>Indicates if the LRA coordinator managed by Quarkus Dev Services is shared. When shared, Quarkus looks for running containers using label-based service discovery. If a matching container is found, it is used, and so a second one is not started. Otherwise, Dev Services for LRA coordinator starts a new container.<br><br>The discovery uses the `quarkus-dev-service-lra-coordinator` label. The value is configured using the `service-name` property.<br><br>Container sharing is only used in dev mode.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_LRA_DEVSERVICES_SHARED+++[] | boolean | `true` |
| [lock] <a id="quarkus-narayana-lra_quarkus-lra-devservices_quarkus-lra-devservices-service-name"></a> [`quarkus.lra.devservices.service-name`](#quarkus-narayana-lra_quarkus-lra-devservices_quarkus-lra-devservices-service-name) config_property_copy_button:+++quarkus.lra.devservices.service-name+++[]<br><br>The value of the `quarkus-dev-service-lra-coordinator` label attached to the started container. This property is used when `shared` is set to `true`. In this case, before starting a container, Dev Services for LRA coordinator looks for a container with the `quarkus-dev-service-lra-coordinator` label 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 the `quarkus-dev-service-lra-coordinator` label set to the specified value.<br><br>This property is used when you need multiple shared LRA coordinators.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_LRA_DEVSERVICES_SERVICE_NAME+++[] | string | `lra-coordinator` |
| [lock] <a id="quarkus-narayana-lra_quarkus-lra-devservices_quarkus-lra-devservices-container-env-environment-variable-name"></a> [`quarkus.lra.devservices.container-env."environment-variable-name"`](#quarkus-narayana-lra_quarkus-lra-devservices_quarkus-lra-devservices-container-env-environment-variable-name) config_property_copy_button:+++quarkus.lra.devservices.container-env."environment-variable-name"+++[]<br><br>Environment variables that are passed to the container.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_LRA_DEVSERVICES_CONTAINER_ENV__ENVIRONMENT_VARIABLE_NAME_+++[] | Map\<String,String> |  |
| [lock] <a id="quarkus-narayana-lra_quarkus-lra-devservices_quarkus-lra-devservices-log-warning"></a> [`quarkus.lra.devservices.log-warning`](#quarkus-narayana-lra_quarkus-lra-devservices_quarkus-lra-devservices-log-warning) config_property_copy_button:+++quarkus.lra.devservices.log-warning+++[]<br><br>Whether to log the warning messages about the LRA Dev Services.<br><br>Defaults to `true`.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_LRA_DEVSERVICES_LOG_WARNING+++[] | boolean | `true` |

### MongoDB

The MongoDB Dev Service will be enabled when the `quarkus-mongodb-client` extension is present in your application, and the server address has not been explicitly configured. More information can be found in the [MongoDB Guide](/guides/mongodb-dev-services/index.md).

[lock] Configuration property fixed at build time - All other configuration properties are overridable at runtime

|  |  |  |
| --- | --- | --- |
| <mark>Configuration property</mark> | Type | Default |
| [lock] <a id="quarkus-mongodb-client_quarkus-mongodb-devservices_quarkus-mongodb-devservices-enabled"></a> [`quarkus.mongodb.devservices.enabled`](#quarkus-mongodb-client_quarkus-mongodb-devservices_quarkus-mongodb-devservices-enabled) config_property_copy_button:+++quarkus.mongodb.devservices.enabled+++[]<br><br>If DevServices has been explicitly enabled or disabled. DevServices is generally enabled by default, unless there is an existing configuration present.<br><br>When DevServices is enabled Quarkus will attempt to automatically configure and start a database when running in Dev or Test mode.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_MONGODB_DEVSERVICES_ENABLED+++[] | boolean |  |
| [lock] <a id="quarkus-mongodb-client_quarkus-mongodb-devservices_quarkus-mongodb-devservices-image-name"></a> [`quarkus.mongodb.devservices.image-name`](#quarkus-mongodb-client_quarkus-mongodb-devservices_quarkus-mongodb-devservices-image-name) config_property_copy_button:+++quarkus.mongodb.devservices.image-name+++[]<br><br>The container image name to use, for container based DevServices providers.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_MONGODB_DEVSERVICES_IMAGE_NAME+++[] | string | `docker.io/library/mongo:7.0` |
| [lock] <a id="quarkus-mongodb-client_quarkus-mongodb-devservices_quarkus-mongodb-devservices-port"></a> [`quarkus.mongodb.devservices.port`](#quarkus-mongodb-client_quarkus-mongodb-devservices_quarkus-mongodb-devservices-port) config_property_copy_button:+++quarkus.mongodb.devservices.port+++[]<br><br>Optional fixed port the dev service will listen to.<br><br>If not defined, the port will be chosen randomly.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_MONGODB_DEVSERVICES_PORT+++[] | int |  |
| [lock] <a id="quarkus-mongodb-client_quarkus-mongodb-devservices_quarkus-mongodb-devservices-properties-property-key"></a> [`quarkus.mongodb.devservices.properties."property-key"`](#quarkus-mongodb-client_quarkus-mongodb-devservices_quarkus-mongodb-devservices-properties-property-key) config_property_copy_button:+++quarkus.mongodb.devservices.properties."property-key"+++[]<br><br>Generic properties that are added to the connection URL.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_MONGODB_DEVSERVICES_PROPERTIES__PROPERTY_KEY_+++[] | Map\<String,String> |  |
| [lock] <a id="quarkus-mongodb-client_quarkus-mongodb-devservices_quarkus-mongodb-devservices-container-env-environment-variable-name"></a> [`quarkus.mongodb.devservices.container-env."environment-variable-name"`](#quarkus-mongodb-client_quarkus-mongodb-devservices_quarkus-mongodb-devservices-container-env-environment-variable-name) config_property_copy_button:+++quarkus.mongodb.devservices.container-env."environment-variable-name"+++[]<br><br>Environment variables that are passed to the container.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_MONGODB_DEVSERVICES_CONTAINER_ENV__ENVIRONMENT_VARIABLE_NAME_+++[] | Map\<String,String> |  |
| [lock] <a id="quarkus-mongodb-client_quarkus-mongodb-devservices_quarkus-mongodb-devservices-shared"></a> [`quarkus.mongodb.devservices.shared`](#quarkus-mongodb-client_quarkus-mongodb-devservices_quarkus-mongodb-devservices-shared) config_property_copy_button:+++quarkus.mongodb.devservices.shared+++[]<br><br>Indicates if the MongoDB server managed by Quarkus Dev Services is shared. When shared, Quarkus looks for running containers using label-based service discovery. If a matching container is found, it is used, and so a second one is not started. Otherwise, Dev Services for MongoDB starts a new container.<br><br>The discovery uses the `quarkus-dev-service-mongodb` label. The value is configured using the `service-name` property.<br><br>Container sharing is only used in dev mode.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_MONGODB_DEVSERVICES_SHARED+++[] | boolean | `true` |
| [lock] <a id="quarkus-mongodb-client_quarkus-mongodb-devservices_quarkus-mongodb-devservices-service-name"></a> [`quarkus.mongodb.devservices.service-name`](#quarkus-mongodb-client_quarkus-mongodb-devservices_quarkus-mongodb-devservices-service-name) config_property_copy_button:+++quarkus.mongodb.devservices.service-name+++[]<br><br>The value of the `quarkus-dev-service-mongodb` label attached to the started container. This property is used when `shared` is set to `true`. In this case, before starting a container, Dev Services for MongoDB looks for a container with the `quarkus-dev-service-mongodb` label 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 the `quarkus-dev-service-mongodb` label set to the specified value.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_MONGODB_DEVSERVICES_SERVICE_NAME+++[] | string | `mongodb` |

<a id="oidc"></a>
### OIDC

A standalone OIDC Dev Service is available as a lightweight alternative to [Keycloak](#keycloak). It is enabled by default when Docker and Podman are not available, or it can be explicitly enabled with `quarkus.oidc.devservices.enabled=true`. More information can be found in the [OIDC Dev Services Guide](/guides/security-openid-connect-dev-services/index.md#dev-services-for-oidc).

[lock] Configuration property fixed at build time - All other configuration properties are overridable at runtime

|  |  |  |
| --- | --- | --- |
| <mark>Configuration property</mark> | Type | Default |
| [lock] <a id="quarkus-devservices-oidc_quarkus-oidc-devservices-enabled"></a> [`quarkus.oidc.devservices.enabled`](#quarkus-devservices-oidc_quarkus-oidc-devservices-enabled) config_property_copy_button:+++quarkus.oidc.devservices.enabled+++[]<br><br>Use OpenID Connect Dev Services instead of Keycloak.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OIDC_DEVSERVICES_ENABLED+++[] | boolean | `Enabled when Docker and Podman are not available` |
| [lock] <a id="quarkus-devservices-oidc_quarkus-oidc-devservices-access-token-expires-in"></a> [`quarkus.oidc.devservices.access-token-expires-in`](#quarkus-devservices-oidc_quarkus-oidc-devservices-access-token-expires-in) config_property_copy_button:+++quarkus.oidc.devservices.access-token-expires-in+++[]<br><br>Relative duration the access token will expire in.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OIDC_DEVSERVICES_ACCESS_TOKEN_EXPIRES_IN+++[] | [Duration](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html) [[question circle]](#duration-note-anchor-quarkus-devservices-oidc_quarkus-oidc) | `5M` |
| [lock] <a id="quarkus-devservices-oidc_quarkus-oidc-devservices-id-token-expires-in"></a> [`quarkus.oidc.devservices.id-token-expires-in`](#quarkus-devservices-oidc_quarkus-oidc-devservices-id-token-expires-in) config_property_copy_button:+++quarkus.oidc.devservices.id-token-expires-in+++[]<br><br>Relative duration the ID token will expire in.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OIDC_DEVSERVICES_ID_TOKEN_EXPIRES_IN+++[] | [Duration](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html) [[question circle]](#duration-note-anchor-quarkus-devservices-oidc_quarkus-oidc) | `5M` |
| [lock] <a id="quarkus-devservices-oidc_quarkus-oidc-devservices-roles-role-name"></a> [`quarkus.oidc.devservices.roles."role-name"`](#quarkus-devservices-oidc_quarkus-oidc-devservices-roles-role-name) config_property_copy_button:+++quarkus.oidc.devservices.roles."role-name"+++[]<br><br>A map of roles for OIDC identity provider users.<br><br>If empty, default roles are assigned: user `alice` receives `admin` and `user` roles and user `bob` receives role `user`.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OIDC_DEVSERVICES_ROLES__ROLE_NAME_+++[] | Map\<String,List\<String>> |  |

<a id="duration-note-anchor-quarkus-devservices-oidc_quarkus-oidc"></a>

> [!NOTE]
> **About the Duration format**
>
> To write duration values, use the standard `java.time.Duration` format. See the [Duration#parse() Java API documentation](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)) for more information.
>
> You can also use a simplified format, starting with a number:
>
> - If the value is only a number, it represents time in seconds.
> - If the value is a number followed by `ms`, it represents time in milliseconds.
>
> In other cases, the simplified format is translated to the `java.time.Duration` format for parsing:
>
> - If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`.
> - If the value is a number followed by `d`, it is prefixed with `P`.

### RabbitMQ

The RabbitMQ Dev Service will be enabled when the `quarkus-messaging-rabbitmq` extension is present in your application, and the broker address has not been explicitly configured. More information can be found in the [RabbitMQ Dev Services Guide](/guides/rabbitmq-dev-services/index.md).

[lock] Configuration property fixed at build time - All other configuration properties are overridable at runtime

|  |  |  |
| --- | --- | --- |
| <mark>Configuration property</mark> | Type | Default |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-enabled"></a> [`quarkus.rabbitmq.devservices.enabled`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-enabled) config_property_copy_button:+++quarkus.rabbitmq.devservices.enabled+++[]<br><br>If Dev Services for RabbitMQ has been explicitly enabled or disabled. Dev Services are generally enabled by default, unless there is an existing configuration present. For RabbitMQ, Dev Services starts a broker unless `rabbitmq-host` or `rabbitmq-port` are set or if all the Reactive Messaging RabbitMQ channel are configured with `host` or `port`.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_ENABLED+++[] | boolean |  |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-port"></a> [`quarkus.rabbitmq.devservices.port`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-port) config_property_copy_button:+++quarkus.rabbitmq.devservices.port+++[]<br><br>Optional fixed port the dev service will listen to.<br><br>If not defined, the port will be chosen randomly.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_PORT+++[] | int |  |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-http-port"></a> [`quarkus.rabbitmq.devservices.http-port`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-http-port) config_property_copy_button:+++quarkus.rabbitmq.devservices.http-port+++[]<br><br>Optional fixed port for the RabbitMQ management plugin.<br><br>If not defined, the port will be chosen randomly.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_HTTP_PORT+++[] | int |  |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-image-name"></a> [`quarkus.rabbitmq.devservices.image-name`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-image-name) config_property_copy_button:+++quarkus.rabbitmq.devservices.image-name+++[]<br><br>The image to use. Note that only official RabbitMQ images are supported. Specifically, the image repository must end with `rabbitmq`.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_IMAGE_NAME+++[] | string | `docker.io/library/rabbitmq:3.12-management` |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-shared"></a> [`quarkus.rabbitmq.devservices.shared`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-shared) config_property_copy_button:+++quarkus.rabbitmq.devservices.shared+++[]<br><br>Indicates if the RabbitMQ broker managed by Quarkus Dev Services is shared. When shared, Quarkus looks for running containers using label-based service discovery. If a matching container is found, it is used, and so a second one is not started. Otherwise, Dev Services for RabbitMQ starts a new container.<br><br>The discovery uses the `quarkus-dev-service-rabbitmq` label. The value is configured using the `service-name` property.<br><br>Container sharing is only used in dev mode.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_SHARED+++[] | boolean | `true` |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-service-name"></a> [`quarkus.rabbitmq.devservices.service-name`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-service-name) config_property_copy_button:+++quarkus.rabbitmq.devservices.service-name+++[]<br><br>The value of the `quarkus-dev-service-rabbitmq` label attached to the started container. This property is used when `shared` is set to `true`. In this case, before starting a container, Dev Services for RabbitMQ looks for a container with the `quarkus-dev-service-rabbitmq` label 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 the `quarkus-dev-service-rabbitmq` label set to the specified value.<br><br>This property is used when you need multiple shared RabbitMQ brokers.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_SERVICE_NAME+++[] | string | `rabbitmq` |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-exchanges-exchange-name-type"></a> [`quarkus.rabbitmq.devservices.exchanges."exchange-name".type`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-exchanges-exchange-name-type) config_property_copy_button:+++quarkus.rabbitmq.devservices.exchanges."exchange-name".type+++[]<br><br>Type of exchange: direct, topic, headers, fanout, etc.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_EXCHANGES__EXCHANGE_NAME__TYPE+++[] | string | `direct` |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-exchanges-exchange-name-auto-delete"></a> [`quarkus.rabbitmq.devservices.exchanges."exchange-name".auto-delete`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-exchanges-exchange-name-auto-delete) config_property_copy_button:+++quarkus.rabbitmq.devservices.exchanges."exchange-name".auto-delete+++[]<br><br>Should the exchange be deleted when all queues are finished using it?<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_EXCHANGES__EXCHANGE_NAME__AUTO_DELETE+++[] | boolean | `false` |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-exchanges-exchange-name-durable"></a> [`quarkus.rabbitmq.devservices.exchanges."exchange-name".durable`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-exchanges-exchange-name-durable) config_property_copy_button:+++quarkus.rabbitmq.devservices.exchanges."exchange-name".durable+++[]<br><br>Should the exchange remain after restarts?<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_EXCHANGES__EXCHANGE_NAME__DURABLE+++[] | boolean | `false` |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-exchanges-exchange-name-vhost"></a> [`quarkus.rabbitmq.devservices.exchanges."exchange-name".vhost`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-exchanges-exchange-name-vhost) config_property_copy_button:+++quarkus.rabbitmq.devservices.exchanges."exchange-name".vhost+++[]<br><br>What virtual host should the exchange be associated with?<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_EXCHANGES__EXCHANGE_NAME__VHOST+++[] | string | `/` |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-exchanges-exchange-name-arguments-argument-name"></a> [`quarkus.rabbitmq.devservices.exchanges."exchange-name".arguments."argument-name"`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-exchanges-exchange-name-arguments-argument-name) config_property_copy_button:+++quarkus.rabbitmq.devservices.exchanges."exchange-name".arguments."argument-name"+++[]<br><br>Extra arguments for the exchange definition.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_EXCHANGES__EXCHANGE_NAME__ARGUMENTS__ARGUMENT_NAME_+++[] | Map\<String,String> |  |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-queues-queue-name-auto-delete"></a> [`quarkus.rabbitmq.devservices.queues."queue-name".auto-delete`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-queues-queue-name-auto-delete) config_property_copy_button:+++quarkus.rabbitmq.devservices.queues."queue-name".auto-delete+++[]<br><br>Should the queue be deleted when all consumers are finished using it?<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_QUEUES__QUEUE_NAME__AUTO_DELETE+++[] | boolean | `false` |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-queues-queue-name-durable"></a> [`quarkus.rabbitmq.devservices.queues."queue-name".durable`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-queues-queue-name-durable) config_property_copy_button:+++quarkus.rabbitmq.devservices.queues."queue-name".durable+++[]<br><br>Should the queue remain after restarts?<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_QUEUES__QUEUE_NAME__DURABLE+++[] | boolean | `false` |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-queues-queue-name-vhost"></a> [`quarkus.rabbitmq.devservices.queues."queue-name".vhost`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-queues-queue-name-vhost) config_property_copy_button:+++quarkus.rabbitmq.devservices.queues."queue-name".vhost+++[]<br><br>What virtual host should the queue be associated with?<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_QUEUES__QUEUE_NAME__VHOST+++[] | string | `/` |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-queues-queue-name-arguments-argument-name"></a> [`quarkus.rabbitmq.devservices.queues."queue-name".arguments."argument-name"`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-queues-queue-name-arguments-argument-name) config_property_copy_button:+++quarkus.rabbitmq.devservices.queues."queue-name".arguments."argument-name"+++[]<br><br>Extra arguments for the queue definition.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_QUEUES__QUEUE_NAME__ARGUMENTS__ARGUMENT_NAME_+++[] | Map\<String,String> |  |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-bindings-binding-name-source"></a> [`quarkus.rabbitmq.devservices.bindings."binding-name".source`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-bindings-binding-name-source) config_property_copy_button:+++quarkus.rabbitmq.devservices.bindings."binding-name".source+++[]<br><br>Source exchange to bind to. Defaults to name of binding instance.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_BINDINGS__BINDING_NAME__SOURCE+++[] | string |  |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-bindings-binding-name-routing-key"></a> [`quarkus.rabbitmq.devservices.bindings."binding-name".routing-key`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-bindings-binding-name-routing-key) config_property_copy_button:+++quarkus.rabbitmq.devservices.bindings."binding-name".routing-key+++[]<br><br>Routing key specification for the source exchange.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_BINDINGS__BINDING_NAME__ROUTING_KEY+++[] | string | `#` |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-bindings-binding-name-destination"></a> [`quarkus.rabbitmq.devservices.bindings."binding-name".destination`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-bindings-binding-name-destination) config_property_copy_button:+++quarkus.rabbitmq.devservices.bindings."binding-name".destination+++[]<br><br>Destination exchange or queue to bind to. Defaults to name of binding instance.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_BINDINGS__BINDING_NAME__DESTINATION+++[] | string |  |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-bindings-binding-name-destination-type"></a> [`quarkus.rabbitmq.devservices.bindings."binding-name".destination-type`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-bindings-binding-name-destination-type) config_property_copy_button:+++quarkus.rabbitmq.devservices.bindings."binding-name".destination-type+++[]<br><br>Destination type for binding: queue, exchange, etc.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_BINDINGS__BINDING_NAME__DESTINATION_TYPE+++[] | string | `queue` |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-bindings-binding-name-vhost"></a> [`quarkus.rabbitmq.devservices.bindings."binding-name".vhost`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-bindings-binding-name-vhost) config_property_copy_button:+++quarkus.rabbitmq.devservices.bindings."binding-name".vhost+++[]<br><br>What virtual host should the binding be associated with?<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_BINDINGS__BINDING_NAME__VHOST+++[] | string | `/` |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-bindings-binding-name-arguments-argument-name"></a> [`quarkus.rabbitmq.devservices.bindings."binding-name".arguments."argument-name"`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-bindings-binding-name-arguments-argument-name) config_property_copy_button:+++quarkus.rabbitmq.devservices.bindings."binding-name".arguments."argument-name"+++[]<br><br>Extra arguments for the binding definition.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_BINDINGS__BINDING_NAME__ARGUMENTS__ARGUMENT_NAME_+++[] | Map\<String,String> |  |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-vhosts"></a> [`quarkus.rabbitmq.devservices.vhosts`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-vhosts) config_property_copy_button:+++quarkus.rabbitmq.devservices.vhosts+++[]<br><br>Virtual hosts that should be predefined after starting the RabbitMQ broker.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_VHOSTS+++[] | list of string |  |
| [lock] <a id="quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-container-env-environment-variable-name"></a> [`quarkus.rabbitmq.devservices.container-env."environment-variable-name"`](#quarkus-messaging-rabbitmq_quarkus-rabbitmq-devservices_quarkus-rabbitmq-devservices-container-env-environment-variable-name) config_property_copy_button:+++quarkus.rabbitmq.devservices.container-env."environment-variable-name"+++[]<br><br>Environment variables that are passed to the container.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_RABBITMQ_DEVSERVICES_CONTAINER_ENV__ENVIRONMENT_VARIABLE_NAME_+++[] | Map\<String,String> |  |

### Pulsar

The Pulsar Dev Service will be enabled when the `quarkus-messaging-pulsar` extension is present in your application, and the broker address has not been explicitly configured. More information can be found in the [Pulsar Dev Services Guide](/guides/pulsar-dev-services/index.md).

[lock] Configuration property fixed at build time - All other configuration properties are overridable at runtime

|  |  |  |
| --- | --- | --- |
| <mark>Configuration property</mark> | Type | Default |
| [lock] <a id="quarkus-messaging-pulsar_quarkus-pulsar-devservices_quarkus-pulsar-devservices-enabled"></a> [`quarkus.pulsar.devservices.enabled`](#quarkus-messaging-pulsar_quarkus-pulsar-devservices_quarkus-pulsar-devservices-enabled) config_property_copy_button:+++quarkus.pulsar.devservices.enabled+++[]<br><br>If Dev Services for Pulsar has been explicitly enabled or disabled. Dev Services are generally enabled by default, unless there is an existing configuration present. For Pulsar, Dev Services starts a broker unless `pulsar.client.serviceUrl` is set or if all the Reactive Messaging Pulsar channel are configured with `serviceUrl`.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_PULSAR_DEVSERVICES_ENABLED+++[] | boolean |  |
| [lock] <a id="quarkus-messaging-pulsar_quarkus-pulsar-devservices_quarkus-pulsar-devservices-port"></a> [`quarkus.pulsar.devservices.port`](#quarkus-messaging-pulsar_quarkus-pulsar-devservices_quarkus-pulsar-devservices-port) config_property_copy_button:+++quarkus.pulsar.devservices.port+++[]<br><br>Optional fixed port the dev service will listen to.<br><br>If not defined, the port will be chosen randomly.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_PULSAR_DEVSERVICES_PORT+++[] | int |  |
| [lock] <a id="quarkus-messaging-pulsar_quarkus-pulsar-devservices_quarkus-pulsar-devservices-image-name"></a> [`quarkus.pulsar.devservices.image-name`](#quarkus-messaging-pulsar_quarkus-pulsar-devservices_quarkus-pulsar-devservices-image-name) config_property_copy_button:+++quarkus.pulsar.devservices.image-name+++[]<br><br>The image to use. Note that only Apache Pulsar images are supported. Specifically, the image repository must end with `apachepulsar/pulsar`. Check <https://hub.docker.com/r/apachepulsar/pulsar> to find the available versions.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_PULSAR_DEVSERVICES_IMAGE_NAME+++[] | string | `docker.io/apachepulsar/pulsar:3.2.4` |
| [lock] <a id="quarkus-messaging-pulsar_quarkus-pulsar-devservices_quarkus-pulsar-devservices-shared"></a> [`quarkus.pulsar.devservices.shared`](#quarkus-messaging-pulsar_quarkus-pulsar-devservices_quarkus-pulsar-devservices-shared) config_property_copy_button:+++quarkus.pulsar.devservices.shared+++[]<br><br>Indicates if the Pulsar broker managed by Quarkus Dev Services is shared. When shared, Quarkus looks for running containers using label-based service discovery. If a matching container is found, it is used, and so a second one is not started. Otherwise, Dev Services for Pulsar starts a new container.<br><br>The discovery uses the `quarkus-dev-service-pulsar` label. The value is configured using the `service-name` property.<br><br>Container sharing is only used in dev mode.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_PULSAR_DEVSERVICES_SHARED+++[] | boolean | `true` |
| [lock] <a id="quarkus-messaging-pulsar_quarkus-pulsar-devservices_quarkus-pulsar-devservices-service-name"></a> [`quarkus.pulsar.devservices.service-name`](#quarkus-messaging-pulsar_quarkus-pulsar-devservices_quarkus-pulsar-devservices-service-name) config_property_copy_button:+++quarkus.pulsar.devservices.service-name+++[]<br><br>The value of the `quarkus-dev-service-pulsar` label attached to the started container. This property is used when `shared` is set to `true`. In this case, before starting a container, Dev Services for Pulsar looks for a container with the `quarkus-dev-service-pulsar` label 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 the `quarkus-dev-service-pulsar` label set to the specified value.<br><br>This property is used when you need multiple shared Pulsar brokers.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_PULSAR_DEVSERVICES_SERVICE_NAME+++[] | string | `pulsar` |
| [lock] <a id="quarkus-messaging-pulsar_quarkus-pulsar-devservices_quarkus-pulsar-devservices-broker-config-environment-variable-name"></a> [`quarkus.pulsar.devservices.broker-config."environment-variable-name"`](#quarkus-messaging-pulsar_quarkus-pulsar-devservices_quarkus-pulsar-devservices-broker-config-environment-variable-name) config_property_copy_button:+++quarkus.pulsar.devservices.broker-config."environment-variable-name"+++[]<br><br>Broker config to set on the Pulsar instance<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_PULSAR_DEVSERVICES_BROKER_CONFIG__ENVIRONMENT_VARIABLE_NAME_+++[] | Map\<String,String> |  |

### Redis

The Redis Dev Service will be enabled when the `quarkus-redis-client` extension is present in your application, and the server address has not been explicitly configured. More information can be found in the [Redis Dev Services Guide](/guides/redis-dev-services/index.md).

[lock] Configuration property fixed at build time - All other configuration properties are overridable at runtime

|  |  |  |
| --- | --- | --- |
| <mark>Configuration property</mark> | Type | Default |
| [lock] <a id="quarkus-redis-client_quarkus-redis-devservices_quarkus-redis-devservices-enabled"></a> [`quarkus.redis.devservices.enabled`](#quarkus-redis-client_quarkus-redis-devservices_quarkus-redis-devservices-enabled) config_property_copy_button:+++quarkus.redis.devservices.enabled+++[]<br><br>`quarkus.redis."redis-client-name".devservices.enabled` config_property_copy_button:+++quarkus.redis."redis-client-name".devservices.enabled+++[]<br><br>If DevServices has been explicitly enabled or disabled. DevServices is generally enabled by default, unless there is an existing configuration present.<br><br>When DevServices is enabled Quarkus will attempt to automatically configure and start a database when running in Dev or Test mode and when Docker is running.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_REDIS_DEVSERVICES_ENABLED+++[] | boolean | `true` |
| [lock] <a id="quarkus-redis-client_quarkus-redis-devservices_quarkus-redis-devservices-image-name"></a> [`quarkus.redis.devservices.image-name`](#quarkus-redis-client_quarkus-redis-devservices_quarkus-redis-devservices-image-name) config_property_copy_button:+++quarkus.redis.devservices.image-name+++[]<br><br>`quarkus.redis."redis-client-name".devservices.image-name` config_property_copy_button:+++quarkus.redis."redis-client-name".devservices.image-name+++[]<br><br>The container image name to use, for container based DevServices providers. If you want to use Redis Stack modules (bloom, graph, search...), use: `redis/redis-stack:latest`.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_REDIS_DEVSERVICES_IMAGE_NAME+++[] | string | `docker.io/library/redis:8` |
| [lock] <a id="quarkus-redis-client_quarkus-redis-devservices_quarkus-redis-devservices-port"></a> [`quarkus.redis.devservices.port`](#quarkus-redis-client_quarkus-redis-devservices_quarkus-redis-devservices-port) config_property_copy_button:+++quarkus.redis.devservices.port+++[]<br><br>`quarkus.redis."redis-client-name".devservices.port` config_property_copy_button:+++quarkus.redis."redis-client-name".devservices.port+++[]<br><br>Optional fixed port the dev service will listen to.<br><br>If not defined, the port will be chosen randomly.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_REDIS_DEVSERVICES_PORT+++[] | int |  |
| [lock] <a id="quarkus-redis-client_quarkus-redis-devservices_quarkus-redis-devservices-shared"></a> [`quarkus.redis.devservices.shared`](#quarkus-redis-client_quarkus-redis-devservices_quarkus-redis-devservices-shared) config_property_copy_button:+++quarkus.redis.devservices.shared+++[]<br><br>`quarkus.redis."redis-client-name".devservices.shared` config_property_copy_button:+++quarkus.redis."redis-client-name".devservices.shared+++[]<br><br>Indicates if the Redis server managed by Quarkus Dev Services is shared. When shared, Quarkus looks for running containers using label-based service discovery. If a matching container is found, it is used, and so a second one is not started. Otherwise, Dev Services for Redis starts a new container.<br><br>The discovery uses the `quarkus-dev-service-redis` label. The value is configured using the `service-name` property.<br><br>Container sharing is only used in dev mode.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_REDIS_DEVSERVICES_SHARED+++[] | boolean | `true` |
| [lock] <a id="quarkus-redis-client_quarkus-redis-devservices_quarkus-redis-devservices-service-name"></a> [`quarkus.redis.devservices.service-name`](#quarkus-redis-client_quarkus-redis-devservices_quarkus-redis-devservices-service-name) config_property_copy_button:+++quarkus.redis.devservices.service-name+++[]<br><br>`quarkus.redis."redis-client-name".devservices.service-name` config_property_copy_button:+++quarkus.redis."redis-client-name".devservices.service-name+++[]<br><br>The value of the `quarkus-dev-service-redis` label attached to the started container. This property is used when `shared` is set to `true`. In this case, before starting a container, Dev Services for Redis looks for a container with the `quarkus-dev-service-redis` label 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 the `quarkus-dev-service-redis` label set to the specified value.<br><br>This property is used when you need multiple shared Redis servers.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_REDIS_DEVSERVICES_SERVICE_NAME+++[] | string | `redis` |
| [lock] <a id="quarkus-redis-client_quarkus-redis-devservices_quarkus-redis-devservices-container-env-environment-variable-name"></a> [`quarkus.redis.devservices.container-env."environment-variable-name"`](#quarkus-redis-client_quarkus-redis-devservices_quarkus-redis-devservices-container-env-environment-variable-name) config_property_copy_button:+++quarkus.redis.devservices.container-env."environment-variable-name"+++[]<br><br>`quarkus.redis."redis-client-name".devservices.container-env."environment-variable-name"` config_property_copy_button:+++quarkus.redis."redis-client-name".devservices.container-env."environment-variable-name"+++[]<br><br>Environment variables that are passed to the container.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_REDIS_DEVSERVICES_CONTAINER_ENV__ENVIRONMENT_VARIABLE_NAME_+++[] | Map\<String,String> |  |

### Vault

The Vault Dev Service will be enabled when the `quarkus-vault` extension is present in your application, and the server address has not been explicitly configured. More information can be found in the [Vault Guide](https://docs.quarkiverse.io/quarkus-vault/dev/index.html#dev-services).

### Infinispan

The Infinispan Dev Service will be enabled when the `quarkus-infinispan-client` extension is present in your application, and the server address has not been explicitly configured. More information can be found in the [Infinispan Dev Services Guide](/guides/infinispan-dev-services/index.md).

[lock] Configuration property fixed at build time - All other configuration properties are overridable at runtime

|  |  |  |
| --- | --- | --- |
| <mark>Configuration property</mark> | Type | Default |
| [lock] <a id="quarkus-infinispan-client_quarkus-infinispan-client-devservices_quarkus-infinispan-client-devservices-enabled"></a> [`quarkus.infinispan-client.devservices.enabled`](#quarkus-infinispan-client_quarkus-infinispan-client-devservices_quarkus-infinispan-client-devservices-enabled) config_property_copy_button:+++quarkus.infinispan-client.devservices.enabled+++[]<br><br>If DevServices has been explicitly enabled or disabled. DevServices is generally enabled by default, unless there is an existing configuration present.<br><br>When DevServices is enabled Quarkus will attempt to automatically configure and start a database when running in Dev or Test mode and when Docker is running.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_INFINISPAN_CLIENT_DEVSERVICES_ENABLED+++[] | boolean | `true` |
| [lock] <a id="quarkus-infinispan-client_quarkus-infinispan-client-devservices_quarkus-infinispan-client-devservices-create-default-client"></a> [`quarkus.infinispan-client.devservices.create-default-client`](#quarkus-infinispan-client_quarkus-infinispan-client-devservices_quarkus-infinispan-client-devservices-create-default-client) config_property_copy_button:+++quarkus.infinispan-client.devservices.create-default-client+++[]<br><br>When the configuration is empty, an Infinispan default client is automatically created to connect to the running dev service. However, there are scenarios where creating this client is unnecessary, yet we still need to spin up an Infinispan Server. In such cases, this property serves to determine whether the client should be created by default or not by the extension.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_INFINISPAN_CLIENT_DEVSERVICES_CREATE_DEFAULT_CLIENT+++[] | boolean | `true` |
| [lock] <a id="quarkus-infinispan-client_quarkus-infinispan-client-devservices_quarkus-infinispan-client-devservices-port"></a> [`quarkus.infinispan-client.devservices.port`](#quarkus-infinispan-client_quarkus-infinispan-client-devservices_quarkus-infinispan-client-devservices-port) config_property_copy_button:+++quarkus.infinispan-client.devservices.port+++[]<br><br>Optional fixed port the dev service will listen to.<br><br>If not defined, the port will be chosen randomly.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_INFINISPAN_CLIENT_DEVSERVICES_PORT+++[] | int |  |
| [lock] <a id="quarkus-infinispan-client_quarkus-infinispan-client-devservices_quarkus-infinispan-client-devservices-shared"></a> [`quarkus.infinispan-client.devservices.shared`](#quarkus-infinispan-client_quarkus-infinispan-client-devservices_quarkus-infinispan-client-devservices-shared) config_property_copy_button:+++quarkus.infinispan-client.devservices.shared+++[]<br><br>Indicates if the Infinispan server managed by Quarkus Dev Services is shared. When shared, Quarkus looks for running containers using label-based service discovery. If a matching container is found, it is used, and so a second one is not started. Otherwise, Dev Services for Infinispan starts a new container.<br><br>The discovery uses the `quarkus-dev-service-infinispan` label. The value is configured using the `service-name` property.<br><br>Container sharing is only used in dev mode.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_INFINISPAN_CLIENT_DEVSERVICES_SHARED+++[] | boolean | `true` |
| [lock] <a id="quarkus-infinispan-client_quarkus-infinispan-client-devservices_quarkus-infinispan-client-devservices-service-name"></a> [`quarkus.infinispan-client.devservices.service-name`](#quarkus-infinispan-client_quarkus-infinispan-client-devservices_quarkus-infinispan-client-devservices-service-name) config_property_copy_button:+++quarkus.infinispan-client.devservices.service-name+++[]<br><br>The value of the `quarkus-dev-service-infinispan` label attached to the started container. This property is used when `shared` is set to `true`. In this case, before starting a container, Dev Services for Infinispan looks for a container with the `quarkus-dev-service-infinispan` label 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 the `quarkus-dev-service-infinispan` label set to the specified value.<br><br>This property is used when you need multiple shared Infinispan servers.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_INFINISPAN_CLIENT_DEVSERVICES_SERVICE_NAME+++[] | string | `infinispan` |
| [lock] <a id="quarkus-infinispan-client_quarkus-infinispan-client-devservices_quarkus-infinispan-client-devservices-image-name"></a> [`quarkus.infinispan-client.devservices.image-name`](#quarkus-infinispan-client_quarkus-infinispan-client-devservices_quarkus-infinispan-client-devservices-image-name) config_property_copy_button:+++quarkus.infinispan-client.devservices.image-name+++[]<br><br>The image to use. Note that only official Infinispan images are supported.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_INFINISPAN_CLIENT_DEVSERVICES_IMAGE_NAME+++[] | string | `quay.io/infinispan/server:latest` |
| [lock] <a id="quarkus-infinispan-client_quarkus-infinispan-client-devservices_quarkus-infinispan-client-devservices-artifacts"></a> [`quarkus.infinispan-client.devservices.artifacts`](#quarkus-infinispan-client_quarkus-infinispan-client-devservices_quarkus-infinispan-client-devservices-artifacts) config_property_copy_button:+++quarkus.infinispan-client.devservices.artifacts+++[]<br><br>List of the artifacts to automatically download and add to the Infinispan server libraries.<br><br>For example a Maven coordinate (org.postgresql:postgresql:42.3.1) or a dependency location url.<br><br>If an invalid value is passed, the Infinispan server will throw an error when trying to start.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_INFINISPAN_CLIENT_DEVSERVICES_ARTIFACTS+++[] | list of string |  |
| [lock] <a id="quarkus-infinispan-client_quarkus-infinispan-client-devservices_quarkus-infinispan-client-devservices-site"></a> [`quarkus.infinispan-client.devservices.site`](#quarkus-infinispan-client_quarkus-infinispan-client-devservices_quarkus-infinispan-client-devservices-site) config_property_copy_button:+++quarkus.infinispan-client.devservices.site+++[]<br><br>Add a site name to start the Infinispan Server Container with Cross Site Replication enabled (ex. lon). Cross Site Replication is the capability to connect two separate Infinispan Server Clusters that might run in different Data Centers, and configure backup caches to copy the data across the clusters with active-active or active-passive replication. See more about Cross Site Replication in the Infinispan Documentation <https://infinispan.org/docs/stable/titles/xsite/xsite.html> Configure `mcast-port` to avoid forming a cluster with any other running Infinispan Server container.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_INFINISPAN_CLIENT_DEVSERVICES_SITE+++[] | string |  |
| [lock] <a id="quarkus-infinispan-client_quarkus-infinispan-client-devservices_quarkus-infinispan-client-devservices-mcast-port"></a> [`quarkus.infinispan-client.devservices.mcast-port`](#quarkus-infinispan-client_quarkus-infinispan-client-devservices_quarkus-infinispan-client-devservices-mcast-port) config_property_copy_button:+++quarkus.infinispan-client.devservices.mcast-port+++[]<br><br>If you are running an Infinispan Server already in docker, if the containers use the same mcastPort they will form a cluster. Set a different mcastPort to create a separate cluster in Docker (e. 46656). A common use case in a local Docker development mode, is the need of having two different Infinispan Clusters with Cross Site Replication enabled. see <https://github.com/infinispan/infinispan-simple-tutorials/blob/main/infinispan-remote/cross-site-replication/docker-compose/><br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_INFINISPAN_CLIENT_DEVSERVICES_MCAST_PORT+++[] | int |  |
| [lock] <a id="quarkus-infinispan-client_quarkus-infinispan-client-devservices_quarkus-infinispan-client-devservices-container-env-environment-variable-name"></a> [`quarkus.infinispan-client.devservices.container-env."environment-variable-name"`](#quarkus-infinispan-client_quarkus-infinispan-client-devservices_quarkus-infinispan-client-devservices-container-env-environment-variable-name) config_property_copy_button:+++quarkus.infinispan-client.devservices.container-env."environment-variable-name"+++[]<br><br>Environment variables that are passed to the container.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_INFINISPAN_CLIENT_DEVSERVICES_CONTAINER_ENV__ENVIRONMENT_VARIABLE_NAME_+++[] | Map\<String,String> |  |
| [lock] <a id="quarkus-infinispan-client_quarkus-infinispan-client-devservices_quarkus-infinispan-client-devservices-config-files"></a> [`quarkus.infinispan-client.devservices.config-files`](#quarkus-infinispan-client_quarkus-infinispan-client-devservices_quarkus-infinispan-client-devservices-config-files) config_property_copy_button:+++quarkus.infinispan-client.devservices.config-files+++[]<br><br>Infinispan Server configuration chunks to be passed to the container.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_INFINISPAN_CLIENT_DEVSERVICES_CONFIG_FILES+++[] | list of string |  |

### Elasticsearch

The Elasticsearch Dev Service will be enabled when one of the Elasticsearch based extensions (Elasticsearch client or Hibernate Search ORM Elasticsearch) is present in your application, and the server address has not been explicitly configured. More information can be found in the [Elasticsearch Dev Services Guide](/guides/elasticsearch-dev-services/index.md).

[lock] Configuration property fixed at build time - All other configuration properties are overridable at runtime

|  |  |  |
| --- | --- | --- |
| <mark>Configuration property</mark> | Type | Default |
| [lock] <a id="quarkus-elasticsearch-rest-client_quarkus-elasticsearch-devservices_quarkus-elasticsearch-devservices-enabled"></a> [`quarkus.elasticsearch.devservices.enabled`](#quarkus-elasticsearch-rest-client_quarkus-elasticsearch-devservices_quarkus-elasticsearch-devservices-enabled) config_property_copy_button:+++quarkus.elasticsearch.devservices.enabled+++[]<br><br>Whether this Dev Service should start with the application in dev mode or tests.<br><br>Dev Services are enabled by default unless connection configuration (e.g. `quarkus.elasticsearch.hosts`) is set explicitly.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_ELASTICSEARCH_DEVSERVICES_ENABLED+++[] | boolean |  |
| [lock] <a id="quarkus-elasticsearch-rest-client_quarkus-elasticsearch-devservices_quarkus-elasticsearch-devservices-port"></a> [`quarkus.elasticsearch.devservices.port`](#quarkus-elasticsearch-rest-client_quarkus-elasticsearch-devservices_quarkus-elasticsearch-devservices-port) config_property_copy_button:+++quarkus.elasticsearch.devservices.port+++[]<br><br>Optional fixed port the dev service will listen to.<br><br>If not defined, the port will be chosen randomly.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_ELASTICSEARCH_DEVSERVICES_PORT+++[] | int |  |
| [lock] <a id="quarkus-elasticsearch-rest-client_quarkus-elasticsearch-devservices_quarkus-elasticsearch-devservices-distribution"></a> [`quarkus.elasticsearch.devservices.distribution`](#quarkus-elasticsearch-rest-client_quarkus-elasticsearch-devservices_quarkus-elasticsearch-devservices-distribution) config_property_copy_button:+++quarkus.elasticsearch.devservices.distribution+++[]<br><br>The Elasticsearch distribution to use.<br><br>Defaults to a distribution inferred from the explicitly configured `image-name` (if any), or by default to the distribution configured in depending extensions (e.g. Hibernate Search), or by default to `elastic`.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_ELASTICSEARCH_DEVSERVICES_DISTRIBUTION+++[] | `elastic`, `opensearch` |  |
| [lock] <a id="quarkus-elasticsearch-rest-client_quarkus-elasticsearch-devservices_quarkus-elasticsearch-devservices-image-name"></a> [`quarkus.elasticsearch.devservices.image-name`](#quarkus-elasticsearch-rest-client_quarkus-elasticsearch-devservices_quarkus-elasticsearch-devservices-image-name) config_property_copy_button:+++quarkus.elasticsearch.devservices.image-name+++[]<br><br>The Elasticsearch container image to use.<br><br>Defaults depend on the configured `distribution`:<br><br>- For the `elastic` distribution: `docker.io/elastic/elasticsearch:9.4.1`<br>- For the `opensearch` distribution: `docker.io/opensearchproject/opensearch:3.6.0`<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_ELASTICSEARCH_DEVSERVICES_IMAGE_NAME+++[] | string |  |
| [lock] <a id="quarkus-elasticsearch-rest-client_quarkus-elasticsearch-devservices_quarkus-elasticsearch-devservices-java-opts"></a> [`quarkus.elasticsearch.devservices.java-opts`](#quarkus-elasticsearch-rest-client_quarkus-elasticsearch-devservices_quarkus-elasticsearch-devservices-java-opts) config_property_copy_button:+++quarkus.elasticsearch.devservices.java-opts+++[]<br><br>The value for the ES_JAVA_OPTS env variable.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_ELASTICSEARCH_DEVSERVICES_JAVA_OPTS+++[] | string | `-Xms512m -Xmx1g` |
| [lock] <a id="quarkus-elasticsearch-rest-client_quarkus-elasticsearch-devservices_quarkus-elasticsearch-devservices-shared"></a> [`quarkus.elasticsearch.devservices.shared`](#quarkus-elasticsearch-rest-client_quarkus-elasticsearch-devservices_quarkus-elasticsearch-devservices-shared) config_property_copy_button:+++quarkus.elasticsearch.devservices.shared+++[]<br><br>Whether the Elasticsearch server managed by Quarkus Dev Services is shared.<br><br>When shared, Quarkus looks for running containers using label-based service discovery. If a matching container is found, it is used, and so a second one is not started. Otherwise, Dev Services for Elasticsearch starts a new container.<br><br>The discovery uses the `quarkus-dev-service-elasticsearch` label. The value is configured using the `service-name` property.<br><br>Container sharing is only used in dev mode.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_ELASTICSEARCH_DEVSERVICES_SHARED+++[] | boolean | `true` |
| [lock] <a id="quarkus-elasticsearch-rest-client_quarkus-elasticsearch-devservices_quarkus-elasticsearch-devservices-service-name"></a> [`quarkus.elasticsearch.devservices.service-name`](#quarkus-elasticsearch-rest-client_quarkus-elasticsearch-devservices_quarkus-elasticsearch-devservices-service-name) config_property_copy_button:+++quarkus.elasticsearch.devservices.service-name+++[]<br><br>The value of the `quarkus-dev-service-elasticsearch` label attached to the started container.<br><br>This property is used when `shared` is set to `true`. In this case, before starting a container, Dev Services for Elasticsearch looks for a container with the `quarkus-dev-service-elasticsearch` label 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 the `quarkus-dev-service-elasticsearch` label set to the specified value.<br><br>This property is used when you need multiple shared Elasticsearch servers.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_ELASTICSEARCH_DEVSERVICES_SERVICE_NAME+++[] | string | `elasticsearch` |
| [lock] <a id="quarkus-elasticsearch-rest-client_quarkus-elasticsearch-devservices_quarkus-elasticsearch-devservices-container-env-environment-variable-name"></a> [`quarkus.elasticsearch.devservices.container-env."environment-variable-name"`](#quarkus-elasticsearch-rest-client_quarkus-elasticsearch-devservices_quarkus-elasticsearch-devservices-container-env-environment-variable-name) config_property_copy_button:+++quarkus.elasticsearch.devservices.container-env."environment-variable-name"+++[]<br><br>Environment variables that are passed to the container.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_ELASTICSEARCH_DEVSERVICES_CONTAINER_ENV__ENVIRONMENT_VARIABLE_NAME_+++[] | Map\<String,String> |  |
| [lock] <a id="quarkus-elasticsearch-rest-client_quarkus-elasticsearch-devservices_quarkus-elasticsearch-devservices-reuse"></a> [`quarkus.elasticsearch.devservices.reuse`](#quarkus-elasticsearch-rest-client_quarkus-elasticsearch-devservices_quarkus-elasticsearch-devservices-reuse) config_property_copy_button:+++quarkus.elasticsearch.devservices.reuse+++[]<br><br>Whether to keep Dev Service containers running **after a dev mode session or test suite execution** to reuse them in the next dev mode session or test suite execution.<br><br>Within a dev mode session or test suite execution, Quarkus will always reuse Dev Services as long as their configuration (username, password, environment, port bindings, ...) did not change. This feature is specifically about keeping containers running **when Quarkus is not running** to reuse them across runs.<br><br>> [!WARNING]<br>> This feature needs to be enabled explicitly in `testcontainers.properties`, may require changes to how you configure data initialization in dev mode and tests, and may leave containers running indefinitely, forcing you to stop and remove them manually. See [this section of the documentation](/guides/elasticsearch-dev-services/index.md#reuse) for more information.<br><br>This configuration property is set to `true` by default, so it is mostly useful to **disable** reuse, if you enabled it in `testcontainers.properties` but only want to use it for some of your Quarkus applications.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_ELASTICSEARCH_DEVSERVICES_REUSE+++[] | boolean | `true` |

### Observability

The Observability Dev Services will be enabled when the `quarkus-observability-devservices` extension is present in your application, and there is at least one dev resource on the classpath. More information can be found in the [Observability Dev Services Guide](/guides/observability-devservices/index.md).

[lock] Configuration property fixed at build time - All other configuration properties are overridable at runtime

|  |  |  |
| --- | --- | --- |
| <mark>Configuration property</mark> | Type | Default |
| <a id="quarkus-observability-devservices_section_quarkus-observability-lgtm"></a> [Grafana LGTM configuration](#quarkus-observability-devservices_section_quarkus-observability-lgtm) | Type | Default |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-enabled"></a> [`quarkus.observability.lgtm.enabled`](#quarkus-observability-devservices_quarkus-observability-lgtm-enabled) config_property_copy_button:+++quarkus.observability.lgtm.enabled+++[]<br><br>If DevServices has been explicitly enabled or disabled. DevServices is generally enabled by default, unless there is an existing configuration present.<br><br>When DevServices is enabled Quarkus will attempt to automatically configure and start a containers when running in Dev or Test mode and when Docker is running.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_ENABLED+++[] | boolean | `true` |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-shared"></a> [`quarkus.observability.lgtm.shared`](#quarkus-observability-devservices_quarkus-observability-lgtm-shared) config_property_copy_button:+++quarkus.observability.lgtm.shared+++[]<br><br>Indicates if the container managed by Quarkus Dev Services is shared. When shared, Quarkus looks for running containers using label-based service discovery. If a matching container is found, it is used, and so a second one is not started. Otherwise, Dev Services starts a new container.<br><br>The discovery uses the `quarkus-dev-service-label` label. The value is configured using the `service-name` property.<br><br>Container sharing is only used in dev mode.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_SHARED+++[] | boolean | `true` |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-service-name"></a> [`quarkus.observability.lgtm.service-name`](#quarkus-observability-devservices_quarkus-observability-lgtm-service-name) config_property_copy_button:+++quarkus.observability.lgtm.service-name+++[]<br><br>The value of the `quarkus-dev-service` label attached to the started container. This property is used when `shared` is set to `true`.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_SERVICE_NAME+++[] | string | `lgtm` |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-username"></a> [`quarkus.observability.lgtm.username`](#quarkus-observability-devservices_quarkus-observability-lgtm-username) config_property_copy_button:+++quarkus.observability.lgtm.username+++[]<br><br>The username.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_USERNAME+++[] | string | `admin` |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-password"></a> [`quarkus.observability.lgtm.password`](#quarkus-observability-devservices_quarkus-observability-lgtm-password) config_property_copy_button:+++quarkus.observability.lgtm.password+++[]<br><br>The password.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_PASSWORD+++[] | string | `admin` |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-grafana-port"></a> [`quarkus.observability.lgtm.grafana-port`](#quarkus-observability-devservices_quarkus-observability-lgtm-grafana-port) config_property_copy_button:+++quarkus.observability.lgtm.grafana-port+++[]<br><br>The port of the Grafana container.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_GRAFANA_PORT+++[] | int |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-timeout"></a> [`quarkus.observability.lgtm.timeout`](#quarkus-observability-devservices_quarkus-observability-lgtm-timeout) config_property_copy_button:+++quarkus.observability.lgtm.timeout+++[]<br><br>The timeout.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_TIMEOUT+++[] | [Duration](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html) [[question circle]](#duration-note-anchor-quarkus-observability-devservices_quarkus-observability) | `3M` |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-image-name"></a> [`quarkus.observability.lgtm.image-name`](#quarkus-observability-devservices_quarkus-observability-lgtm-image-name) config_property_copy_button:+++quarkus.observability.lgtm.image-name+++[]<br><br>The name of the Grafana LGTM Docker image.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_IMAGE_NAME+++[] | string | `docker.io/grafana/otel-lgtm:0.31.0` |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-network-aliases"></a> [`quarkus.observability.lgtm.network-aliases`](#quarkus-observability-devservices_quarkus-observability-lgtm-network-aliases) config_property_copy_button:+++quarkus.observability.lgtm.network-aliases+++[]<br><br>The Docker network aliases.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_NETWORK_ALIASES+++[] | list of string | `lgtm`, `lgtm.testcontainer.docker` |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-label"></a> [`quarkus.observability.lgtm.label`](#quarkus-observability-devservices_quarkus-observability-lgtm-label) config_property_copy_button:+++quarkus.observability.lgtm.label+++[]<br><br>The label of the container.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_LABEL+++[] | string | `quarkus-dev-service-lgtm` |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-logging"></a> [`quarkus.observability.lgtm.logging`](#quarkus-observability-devservices_quarkus-observability-lgtm-logging) config_property_copy_button:+++quarkus.observability.lgtm.logging+++[]<br><br>Set of components to log. Comma separated set of components whose container log we want to output.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_LOGGING+++[] | list of `grafana`, `loki`, `prometheus`, `tempo`, `pyroscope`, `otelcol`, `obi`, `all` |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-otlp-protocol"></a> [`quarkus.observability.lgtm.otlp-protocol`](#quarkus-observability-devservices_quarkus-observability-lgtm-otlp-protocol) config_property_copy_button:+++quarkus.observability.lgtm.otlp-protocol+++[]<br><br>The LGTM's OTLP protocol.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_OTLP_PROTOCOL+++[] | string | `http/protobuf` |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-scraping-interval"></a> [`quarkus.observability.lgtm.scraping-interval`](#quarkus-observability-devservices_quarkus-observability-lgtm-scraping-interval) config_property_copy_button:+++quarkus.observability.lgtm.scraping-interval+++[]<br><br>The (Prometheus) scraping interval, in seconds.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_SCRAPING_INTERVAL+++[] | int | `10` |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-force-scraping"></a> [`quarkus.observability.lgtm.force-scraping`](#quarkus-observability-devservices_quarkus-observability-lgtm-force-scraping) config_property_copy_button:+++quarkus.observability.lgtm.force-scraping+++[]<br><br>Do we force scraping.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_FORCE_SCRAPING+++[] | boolean |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-otel-grpc-port"></a> [`quarkus.observability.lgtm.otel-grpc-port`](#quarkus-observability-devservices_quarkus-observability-lgtm-otel-grpc-port) config_property_copy_button:+++quarkus.observability.lgtm.otel-grpc-port+++[]<br><br>The gRPC port of the OTel container, if set it will be a fixed value.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_OTEL_GRPC_PORT+++[] | int |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-otel-http-port"></a> [`quarkus.observability.lgtm.otel-http-port`](#quarkus-observability-devservices_quarkus-observability-lgtm-otel-http-port) config_property_copy_button:+++quarkus.observability.lgtm.otel-http-port+++[]<br><br>The HTTP port of the OTel container, if set it will be a fixed value.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_OTEL_HTTP_PORT+++[] | int |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-prometheus-port"></a> [`quarkus.observability.lgtm.prometheus-port`](#quarkus-observability-devservices_quarkus-observability-lgtm-prometheus-port) config_property_copy_button:+++quarkus.observability.lgtm.prometheus-port+++[]<br><br>Prometheus port, if set it will be a fixed value.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_PROMETHEUS_PORT+++[] | int |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-tempo-mcp-port"></a> [`quarkus.observability.lgtm.tempo-mcp-port`](#quarkus-observability-devservices_quarkus-observability-lgtm-tempo-mcp-port) config_property_copy_button:+++quarkus.observability.lgtm.tempo-mcp-port+++[]<br><br>Tempo MCP port, if set it will be a fixed value.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_TEMPO_MCP_PORT+++[] | int |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-shutdown-timeout"></a> [`quarkus.observability.lgtm.shutdown-timeout`](#quarkus-observability-devservices_quarkus-observability-lgtm-shutdown-timeout) config_property_copy_button:+++quarkus.observability.lgtm.shutdown-timeout+++[]<br><br>The grace period in seconds for graceful shutdown after the container receives SIGTERM or SIGINT.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_SHUTDOWN_TIMEOUT+++[] | int |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-enable-obi"></a> [`quarkus.observability.lgtm.enable-obi`](#quarkus-observability-devservices_quarkus-observability-lgtm-enable-obi) config_property_copy_button:+++quarkus.observability.lgtm.enable-obi+++[]<br><br>Enable OBI (OpenTelemetry eBPF Instrumentation) for automatic trace and RED metric generation. Requires Linux kernel 5.8{plus} with BTF support. Enables `--pid=host` and `--privileged` on the container.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_ENABLE_OBI+++[] | boolean | `false` |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-obi-target"></a> [`quarkus.observability.lgtm.obi-target`](#quarkus-observability-devservices_quarkus-observability-lgtm-obi-target) config_property_copy_button:+++quarkus.observability.lgtm.obi-target+++[]<br><br>The OBI target to instrument. Can be a language (`java`, `python`, `node`, `dotnet`, `ruby`) or any regex matching an executable name.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_OBI_TARGET+++[] | string |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-obi-open-port"></a> [`quarkus.observability.lgtm.obi-open-port`](#quarkus-observability-devservices_quarkus-observability-lgtm-obi-open-port) config_property_copy_button:+++quarkus.observability.lgtm.obi-open-port+++[]<br><br>Override which ports OBI monitors for auto-instrumentation.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_OBI_OPEN_PORT+++[] | string |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-obi-auto-target-exe"></a> [`quarkus.observability.lgtm.obi-auto-target-exe`](#quarkus-observability-devservices_quarkus-observability-lgtm-obi-auto-target-exe) config_property_copy_button:+++quarkus.observability.lgtm.obi-auto-target-exe+++[]<br><br>Executable name pattern for OBI auto-instrumentation targeting.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_OBI_AUTO_TARGET_EXE+++[] | string |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-prometheus-extra-args"></a> [`quarkus.observability.lgtm.prometheus-extra-args`](#quarkus-observability-devservices_quarkus-observability-lgtm-prometheus-extra-args) config_property_copy_button:+++quarkus.observability.lgtm.prometheus-extra-args+++[]<br><br>Extra CLI arguments for Prometheus. The value is split on whitespace into separate arguments.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_PROMETHEUS_EXTRA_ARGS+++[] | string |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-loki-extra-args"></a> [`quarkus.observability.lgtm.loki-extra-args`](#quarkus-observability-devservices_quarkus-observability-lgtm-loki-extra-args) config_property_copy_button:+++quarkus.observability.lgtm.loki-extra-args+++[]<br><br>Extra CLI arguments for Loki. The value is split on whitespace into separate arguments.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_LOKI_EXTRA_ARGS+++[] | string |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-tempo-extra-args"></a> [`quarkus.observability.lgtm.tempo-extra-args`](#quarkus-observability-devservices_quarkus-observability-lgtm-tempo-extra-args) config_property_copy_button:+++quarkus.observability.lgtm.tempo-extra-args+++[]<br><br>Extra CLI arguments for Tempo, appended after the default MCP enablement flag. The value is split on whitespace into separate arguments.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_TEMPO_EXTRA_ARGS+++[] | string |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-pyroscope-extra-args"></a> [`quarkus.observability.lgtm.pyroscope-extra-args`](#quarkus-observability-devservices_quarkus-observability-lgtm-pyroscope-extra-args) config_property_copy_button:+++quarkus.observability.lgtm.pyroscope-extra-args+++[]<br><br>Extra CLI arguments for Pyroscope. The value is split on whitespace into separate arguments.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_PYROSCOPE_EXTRA_ARGS+++[] | string |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-otelcol-extra-args"></a> [`quarkus.observability.lgtm.otelcol-extra-args`](#quarkus-observability-devservices_quarkus-observability-lgtm-otelcol-extra-args) config_property_copy_button:+++quarkus.observability.lgtm.otelcol-extra-args+++[]<br><br>Extra CLI arguments for the OpenTelemetry Collector. The value is split on whitespace into separate arguments.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_OTELCOL_EXTRA_ARGS+++[] | string |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-prometheus-config"></a> [`quarkus.observability.lgtm.prometheus-config`](#quarkus-observability-devservices_quarkus-observability-lgtm-prometheus-config) config_property_copy_button:+++quarkus.observability.lgtm.prometheus-config+++[]<br><br>Classpath resource path to a custom Prometheus configuration file. Mounted to `/otel-lgtm/prometheus.yaml` inside the container.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_PROMETHEUS_CONFIG+++[] | string |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-loki-config"></a> [`quarkus.observability.lgtm.loki-config`](#quarkus-observability-devservices_quarkus-observability-lgtm-loki-config) config_property_copy_button:+++quarkus.observability.lgtm.loki-config+++[]<br><br>Classpath resource path to a custom Loki configuration file. Mounted to `/otel-lgtm/loki-config.yaml` inside the container.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_LOKI_CONFIG+++[] | string |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-tempo-config"></a> [`quarkus.observability.lgtm.tempo-config`](#quarkus-observability-devservices_quarkus-observability-lgtm-tempo-config) config_property_copy_button:+++quarkus.observability.lgtm.tempo-config+++[]<br><br>Classpath resource path to a custom Tempo configuration file. Mounted to `/otel-lgtm/tempo-config.yaml` inside the container.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_TEMPO_CONFIG+++[] | string |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-pyroscope-config"></a> [`quarkus.observability.lgtm.pyroscope-config`](#quarkus-observability-devservices_quarkus-observability-lgtm-pyroscope-config) config_property_copy_button:+++quarkus.observability.lgtm.pyroscope-config+++[]<br><br>Classpath resource path to a custom Pyroscope configuration file. Mounted to `/otel-lgtm/pyroscope-config.yaml` inside the container.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_PYROSCOPE_CONFIG+++[] | string |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-otelcol-config"></a> [`quarkus.observability.lgtm.otelcol-config`](#quarkus-observability-devservices_quarkus-observability-lgtm-otelcol-config) config_property_copy_button:+++quarkus.observability.lgtm.otelcol-config+++[]<br><br>Classpath resource path to a custom OpenTelemetry Collector configuration file. Mounted to `/otel-lgtm/otelcol-config.yaml` inside the container.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_OTELCOL_CONFIG+++[] | string |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-grafana-plugins-preinstall"></a> [`quarkus.observability.lgtm.grafana-plugins-preinstall`](#quarkus-observability-devservices_quarkus-observability-lgtm-grafana-plugins-preinstall) config_property_copy_button:+++quarkus.observability.lgtm.grafana-plugins-preinstall+++[]<br><br>Comma-separated list of Grafana plugins to pre-install.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_GRAFANA_PLUGINS_PREINSTALL+++[] | string |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-grafana-home-dashboard-path"></a> [`quarkus.observability.lgtm.grafana-home-dashboard-path`](#quarkus-observability-devservices_quarkus-observability-lgtm-grafana-home-dashboard-path) config_property_copy_button:+++quarkus.observability.lgtm.grafana-home-dashboard-path+++[]<br><br>Path inside the container to a dashboard JSON file to use as the Grafana home dashboard.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_GRAFANA_HOME_DASHBOARD_PATH+++[] | string |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-vendor-otlp-endpoint"></a> [`quarkus.observability.lgtm.vendor-otlp-endpoint`](#quarkus-observability-devservices_quarkus-observability-lgtm-vendor-otlp-endpoint) config_property_copy_button:+++quarkus.observability.lgtm.vendor-otlp-endpoint+++[]<br><br>Global OTLP endpoint for forwarding logs, metrics, and traces to an external vendor via OTLP/HTTP.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_VENDOR_OTLP_ENDPOINT+++[] | string |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-vendor-otlp-logs-endpoint"></a> [`quarkus.observability.lgtm.vendor-otlp-logs-endpoint`](#quarkus-observability-devservices_quarkus-observability-lgtm-vendor-otlp-logs-endpoint) config_property_copy_button:+++quarkus.observability.lgtm.vendor-otlp-logs-endpoint+++[]<br><br>Per-signal OTLP endpoint for forwarding logs to an external vendor. Takes precedence over the global endpoint.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_VENDOR_OTLP_LOGS_ENDPOINT+++[] | string |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-vendor-otlp-metrics-endpoint"></a> [`quarkus.observability.lgtm.vendor-otlp-metrics-endpoint`](#quarkus-observability-devservices_quarkus-observability-lgtm-vendor-otlp-metrics-endpoint) config_property_copy_button:+++quarkus.observability.lgtm.vendor-otlp-metrics-endpoint+++[]<br><br>Per-signal OTLP endpoint for forwarding metrics to an external vendor. Takes precedence over the global endpoint.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_VENDOR_OTLP_METRICS_ENDPOINT+++[] | string |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-vendor-otlp-traces-endpoint"></a> [`quarkus.observability.lgtm.vendor-otlp-traces-endpoint`](#quarkus-observability-devservices_quarkus-observability-lgtm-vendor-otlp-traces-endpoint) config_property_copy_button:+++quarkus.observability.lgtm.vendor-otlp-traces-endpoint+++[]<br><br>Per-signal OTLP endpoint for forwarding traces to an external vendor. Takes precedence over the global endpoint.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_VENDOR_OTLP_TRACES_ENDPOINT+++[] | string |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-lgtm-vendor-otlp-headers"></a> [`quarkus.observability.lgtm.vendor-otlp-headers`](#quarkus-observability-devservices_quarkus-observability-lgtm-vendor-otlp-headers) config_property_copy_button:+++quarkus.observability.lgtm.vendor-otlp-headers+++[]<br><br>Authentication headers for the vendor OTLP endpoint (e.g. API keys or tokens).<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_LGTM_VENDOR_OTLP_HEADERS+++[] | string |  |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-enabled"></a> [`quarkus.observability.enabled`](#quarkus-observability-devservices_quarkus-observability-enabled) config_property_copy_button:+++quarkus.observability.enabled+++[]<br><br>If DevServices has been explicitly enabled.<br><br>DevServices is generally enabled by default, unless there is an existing configuration present set to false.<br><br>When DevServices is enabled Quarkus will attempt to automatically configure and start observability containers when running in Dev mode, when Docker is running and in test mode, if enabled-in-tests config is enabled.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_ENABLED+++[] | boolean | `true` |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-enabled-in-tests"></a> [`quarkus.observability.enabled-in-tests`](#quarkus-observability-devservices_quarkus-observability-enabled-in-tests) config_property_copy_button:+++quarkus.observability.enabled-in-tests+++[]<br><br>Whether to start observability Dev Services in test mode.<br><br>When set to `false` (the default), the Grafana LGTM container will not be started automatically when running tests. Set to `true` to enable the container in test mode.<br><br>This property has no effect in dev mode, where Dev Services are controlled solely by `enabled`.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_ENABLED_IN_TESTS+++[] | boolean | `false` |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-dev-resources"></a> [`quarkus.observability.dev-resources`](#quarkus-observability-devservices_quarkus-observability-dev-resources) config_property_copy_button:+++quarkus.observability.dev-resources+++[]<br><br>Enable simplified usage of dev resources, instead of full observability processing. No shared container discovery, no compose support, no Dev UI card and no override properties injected. Make sure @code++{++enabled++}++ is set to false unless you know exactly what you are doing.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_DEV_RESOURCES+++[] | boolean | `false` |
| [lock] <a id="quarkus-observability-devservices_quarkus-observability-parallel"></a> [`quarkus.observability.parallel`](#quarkus-observability-devservices_quarkus-observability-parallel) config_property_copy_button:+++quarkus.observability.parallel+++[]<br><br>Do we start the dev services in parallel.<br><br>Environment variable: env_var_with_copy_button:+++QUARKUS_OBSERVABILITY_PARALLEL+++[] | boolean | `false` |

<a id="duration-note-anchor-quarkus-observability-devservices_quarkus-observability"></a>

> [!NOTE]
> **About the Duration format**
>
> To write duration values, use the standard `java.time.Duration` format. See the [Duration#parse() Java API documentation](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html#parse(java.lang.CharSequence)) for more information.
>
> You can also use a simplified format, starting with a number:
>
> - If the value is only a number, it represents time in seconds.
> - If the value is a number followed by `ms`, it represents time in milliseconds.
>
> In other cases, the simplified format is translated to the `java.time.Duration` format for parsing:
>
> - If the value is a number followed by `h`, `m`, or `s`, it is prefixed with `PT`.
> - If the value is a number followed by `d`, it is prefixed with `P`.

## Dev Services beyond the Quarkus Platform

Many Quarkiverse extensions which are not in the Quarkus Platform also offer Dev Services.

Here are some highlights.

### Neo4j

The Neo4j Dev Service will be enabled when the `quarkus-neo4j` extension is present in your application, and the server address has not been explicitly configured. More information can be found in the [Neo4j Guide](https://docs.quarkiverse.io/quarkus-neo4j/dev/index.html#dev-services).

### WireMock

The WireMock extension starts WireMock as a Dev Service. It is a test-focussed extension, designed to run in dev and test mode only. More information can be found in the [WireMock Guide](https://docs.quarkiverse.io/quarkus-wiremock/dev/index.html).

### Microcks

The Microcks Quarkus extension includes a Microcks Dev Service. The Dev Service manages mocks for dependencies and contract-testing your API endpoints. See the extension [README.md](https://github.com/microcks/microcks-quarkus) for more information.
