+ * The discovery uses the {@code quarkus-dev-service-vault} label. + * The value is configured using the {@code service-name} property. + *
+ * Container sharing is only used in dev mode. + */ + @ConfigItem(defaultValue = "true") + public boolean shared; + + /** + * The value of the {@code quarkus-dev-service-vault} label attached to the started container. + * This property is used when {@code shared} is set to {@code true}. + * In this case, before starting a container, Dev Services for Vault looks for a container with the + * {@code quarkus-dev-service-vault} 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 {@code quarkus-dev-service-vault} label set to the specified value. + *
+ * This property is used when you need multiple shared Vault instances. + */ + @ConfigItem(defaultValue = "vault") + public String serviceName; + /** * Optional fixed port the dev service will listen to. *