lando / core-next

Next generation Lando v4 runtime
https://docs.lando.dev/core/v4
GNU General Public License v3.0
4 stars 4 forks source link

Option to disable scanner for localhost domains #34

Open pvanhemmen opened 1 year ago

pvanhemmen commented 1 year ago

I'm currently running lando v3.18.0 with the new scanner enabled and a custom project domain for shopware development. Since shopware is domain centric, the standard localhost domain + port that comes with all projects will always throw a 500 error since it's not configured in the database (and never will be since I need to sync it from live from time to time).

The localhost domains are always scanned 25 times and will always fail. I know the amount of retries can be configured, but this will affect all scans and that is not what I want. Therefore it would be great to:

  1. disable scanning of the localhost domains
  2. OR a possibility to disable the localhost domains all together since I don't need them at all

Maybe I am missing something that will help me to set this up, but I couldn't find a solution yet. Thanx!