docksal / service-vhost-proxy

Virtual host proxy service image for Docksal
http://docksal.io
MIT License
7 stars 14 forks source link

proxyctl lookup: match any vhost #82

Open rmott-littler opened 2 years ago

rmott-littler commented 2 years ago

Removing the label=io.docksal.project-root filter from the lookup function allows secondary project vhosts to trigger autostart. This is especially useful for stacks with Coder IDE enabled, so that the default pattern ide-PROJECT.domain works seamlessly.

I've not encountered a use-case where removing the project-root filter like this creates problems; it seems the search on the io.docksal.virtual-host label should be sufficient.