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.
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 patternide-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 theio.docksal.virtual-host
label should be sufficient.