jolicode / docker-starter

🏗️ A skeleton to start a new web project with PHP, Docker and Castor
MIT License
337 stars 34 forks source link

Improve the "help" / default, list the URL's on demand #81

Closed damienalexandre closed 4 years ago

damienalexandre commented 4 years ago

At the end of "inv start" we print all the configured URL:

https://github.com/jolicode/docker-starter/blob/c7bdf3519845b4baa27f2a241acacf1c3ab7984d/tasks.py#L51-L53

image

That's awesome but we can never this is again, unless running "inv start" again.

Would be awesome if the help / task list could add this. Or add a "inv help" or "inv url" command to get the list back any time.

WDYT?

lyrixx commented 4 years ago

that's a very good suggestion :+1:

Would you mind to submit a PR?

damienalexandre commented 4 years ago

With the latest version the URL list does not get you all the exposed services.

You only get the URL going to the "frontend" app + any extra_domains URL (going to frontend only).

So we don't have the Treafik dashboard URL for example: http://127.0.0.1:8080/

If we add a service like maildev, we don't get the URL neither.

This is related to this issue but that's also a regression I think.