Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 843
Herr Derb Avatar asked Oct 19 '25 03:10

Herr Derb


1 Answers

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

See this for more information.

like image 196
geoand Avatar answered Oct 21 '25 07:10

geoand