Skip to content

WordPress on Lagoon#

The WordPress template is configured to use Composer to install WordPress, its dependencies, and themes.

The WordPress template is based on the https://github.com/roots/bedrock boilerplate, but extended to match a standardized Lagoon deployment pattern.

Composer Install#

The template uses Composer to install WordPress and its themes.

Database#

Lagoon can support MariaDB and PostgreSQL databases, but as support for PostgreSQL is limited in WordPress, it isn't recommended for use.

NGINX configuration#

Lagoon doesn't have a built-in configuration for WordPress - instead, the template comes with a starting nginx.conf - please contribute any improvements you may find!

WP-CLI#

The Lagoon template installs wp-cli into the cli image to manage your WordPress install.