To run a Lagoon Project, your system must meet the requirements to run Docker. We suggest installing the latest version of Docker for your workstation. You can download Docker here. We also suggest allowing Docker at least 4 CPUs and 4 GB RAM.

Local Development Environments

TL;DR: install and start pygmy:

gem install pygmy
pygmy up

Pygmy is an amazee.io flavored local development system.

Learn more about Lagoon, pygmy, and Local Development Environments

Step by Step Guides

Overview of Lagoon Configuration Files


This is the main file that will be used by Lagoon to understand what should be deployed, as well as many other things. See Documentation for .lagoon.yml


This file is used by Docker Compose to start your local development environment. Lagoon also uses it to understand which of the services should be deployed, which type, and how to build them. This happens via labels. See Documentation for docker-compose.yml


Some Docker images and containers need additional customizations from the provided images. This usually has two reasons:

  1. Application code: Containers like Nginx, PHP, Node.js, etc., need the actual programming code within their images. This is done during a Docker build step, which is configured in a Dockerfile. Lagoon has full support for Docker, and therefore also allows you full control over the resulting images via Dockerfile customizations.
  2. Customization of Images: Lagoon also allows you to customize the base images according to your needs. This can be to inject an additional environment variable, change a service configuration, or even install additional tools. We advise caution with installing additional tools to the Docker images, as you will need to maintain any adaptions in the future!

Supported Services & Base Images by Lagoon

Type Versions Dockerfile
Elasticsearch 6.8, 7.6 elasticsearch/Dockerfiles
MariadB-Drupal 10.2 mariadb-drupal/Dockerfile
MariaDB 10.2 mariadb/Dockerfile
MongoDB 3.6 mongo/Dockerfile
Nginx openresty/ nginx/Dockerfile
Nginx-Drupal openresty/ nginx-drupal/Dockerfile
php-fpm-Drupal 7.2, 7.3, 7.4 php/cli-drupal/Dockerfile
php-cli 7.2, 7.3, 7.4 php/cli/Dockerfile
php-fpm 7.2, 7.3 php/fpm/Dockerfile
Postgres 11.6 postgres/Dockerfile
RabbitMQ 3.8
Redis-persistent 5.0 redis-persistent/Dockerfile
Redis 5.0 redis/Dockerfile
Solr-Drupal 5.5, 6.6, 7.7 solr-drupal/Dockerfile
Solr 5.5, 6.6, 7.7 solr/Dockerfile
Varnish-Drupal 5.2 varnish-drupal/Dockerfile
Varnish 5.2 varnish/Dockerfile

All images are pushed to https://hub.docker.com/u/amazeeio. We suggest always using the latest tag (like amazeeio/nginx:latest) or unsuffixed images (like amazeeio/node:10), as they are kept up to date in terms of features and security. If you choose to use a specific Lagoon version of an image like amazeeio/nginx:v0.21.0 or amazeeio/node:10-v0.21.0 it is your own responsibility to upgrade the version of the images as soon as a new Lagoon version is released!