Closed CGoodwin90 closed 1 year ago
Name | Link |
---|---|
Latest commit | f191dbb49988f2bcee9bba54cc852bf0d8826e7f |
Latest deploy log | https://app.netlify.com/sites/lando-lagoon/deploys/64fab3b37497ec0007948ddb |
@CGoodwin90 does lagoon have a concept of "primary service"? if so where does that live in the config? Can we not just use that concept and map it over to Lando?
If not, In Lando 4 we are going to use the following to indicate the "primary" service. it might be worth adopting this convention in the lagoon plugin logic so its easier when we move everything to use the new lando 4 services api.
services:
service1:
primary: false
service2:
primary: true
...
serviceN:
Thanks @pirog - I've updated this now to match the logic in Lando 4
Updated the proxy service to be able to assign primary routes to services other than Nginx.
The primary server can be defined in
.lando.yml:
If the primary server is not defined, it will fallback to a priority list of other services - nginx, node etc.