Herr Derb
Herr Derb

Reputation: 5387

Set container name for a datasource devservice in quarkus?

I have a test setup that starts 2 postgres devservices. With the default configuration, I am not able to differ the two running containers until I connect to them and have a look at the existing tables. I was looking for a property to configure the container name of a datasource devservice, but couldn't find any.

How can I set the container name of a datasource devservice in quarkus, so that I am apple to tell which is which?

Upvotes: 2

Views: 598

Answers (1)

geoand
geoand

Reputation: 64039

Starting with Quarkus 2.15, a datasource labels is added to database related containers.

See this for more information.

Upvotes: 2

Related Questions