akretion / docky

Docky - Helper for docker-compose mainly used in odoo context
GNU Affero General Public License v3.0
56 stars 31 forks source link

IMP guess url of the services with docker inspect #132

Closed bealdav closed 4 years ago

bealdav commented 4 years ago

Finally stay with IP is a more generic way.

Url are dynamically built

2020-03-21_16-34

Here url are clickable make it easy to discover services

Mailcatcher is on the hand

What do you think of this small feature ?

bealdav commented 4 years ago

You can't rely on dynamic ip addressing when the containers needs to talk to each other.

You're right but it's not the purpose of this PR. I only want access features outside docker. In this way it's not generic, yes

hparfr commented 4 years ago

Tested, the output is too verbose, you have to filter to only interesting containers. Capture du 2020-03-23 08-54-21

bealdav commented 4 years ago

Filter is done, a print was under the wood, please retry

hparfr commented 4 years ago

Better, now. But I don't have odoo in the list anymore, and I have always the latest port instead of all.

bealdav commented 4 years ago

You don't have odoo because container is on building not built

hparfr commented 4 years ago

I don't get it

bealdav commented 4 years ago

You can't

hparfr commented 4 years ago

For instance, in the docker-compose I use, there is elastic search, odoo and postgresql, locomotive, mongo.

bealdav commented 4 years ago

Please @hparfr could you try with this new code ?

hparfr commented 4 years ago

Thanks for the push force. :1st_place_medal:

bealdav commented 4 years ago

This is a fresh new as your expectations. ;-) Could you make a screenshot of your output with your multiples apps. Thakns

hparfr commented 4 years ago

Capture du 2020-03-23 14-47-37