lando / lagoon

The Official Lagoon Lando Plugin
https://docs.lando.dev/lagoon
GNU General Public License v3.0
3 stars 4 forks source link

Forward http requests from pygmy to lando (or reverse?)? #34

Closed silverham closed 2 years ago

silverham commented 2 years ago

Hi, Is it possible to forward http requests from pygmy to lando's traefik proxy or a specific web service container inside .lando.yml?

I would like to expose on my local computer, all my websites whether lagoon (pygmy) or lando via one port number.

This ticket suggests it is possible but the "network" key doesn't work for recipe e.g. drupal? https://github.com/lando/docs/issues/2

Alternately, i suppose, one workaround is to create yet another docker-compose vanilla http proxy with lando's compose plugin. similar to this: https://github.com/drupal-graphql/drupal-decoupled-app/blob/master/docker-compose.yml#L24

Cross post for visibility: https://github.com/pygmystack/pygmy/issues/393

silverham commented 2 years ago

Closing as example has been documented in referenced ticket: https://github.com/pygmystack/pygmy/issues/393