DEV Community

Alanna Burke for Lagoon

Posted on • Edited on

Lagoon Local Development Environments

When working with Lagoon, you have a variety of options for your local development experience - we want you to use whatever works best for you!

Lando

Lagoon integrates nicely with Lando. If you’re familiar with Lando, this is probably a no-brainer, especially if you expect your workflow to be fairly straightforward. Take a look at the Lando docs and see if it’s a fit for your project: https://docs.lando.dev/plugins/lagoon/.

DDEV

If you’re a Drupal developer, you may be familiar with DDEV, which also has a robust Lagoon integration. DDEV supports a variety of PHP and Python-based applications and frameworks. Check out their docs to learn how to use DDEV with Lagoon: https://ddev.readthedocs.io/en/stable/users/providers/lagoon/.

Watch amazee.io’s recent webinar with DDEV’s Lead Maintainer Randy Fay here: https://www.amazee.io/local-development-with-ddev-and-lagoon

Pygmy

Pygmy integrates very closely with Docker. If you’re anticipating complex needs and use cases, and have the time to gain a deep understanding of how it all works, pygmy is probably the choice for you. Read more about pygmy here: https://github.com/pygmystack/pygmy

DIY

While we don’t necessarily encourage it, you can also use a LAMP/MAMP/etc stack and interact with Lagoon locally without a specific local development environment. Docker and Docker Compose are the only hard requirements, but these will make things work a lot more smoothly:

  • An HTTP reverse proxy for nice URLs and HTTPS offloading.
  • A DNS system so we don't have to remember IP addresses.
  • SSH agents to use SSH keys within containers.
  • A system that receives and displays mail locally.

What does your local Lagoon setup look like? We’d love to hear from you! Chime in on the Lagoon Discord!

And don’t forget our 2024 Community Survey! Let us know how we can best serve the Lagoon community.

Top comments (0)