Skip to content

PostgreSQL

PostgreSQL is an advanced open source database server.

You can easily add it to your Lando app by adding an entry to the services top-level config in your Landofile.

yaml
services:
  myservice:
    type: postgres:17

Supported versions

Unsupported versions

Using Unsupported PostgreSQL Versions!

While you can currently use some unsupported PostgreSQL versions with Lando, it's worth noting that we also do not support such versions, so your mileage may vary. If you are having issues with unsupported versions and open a ticket about it, the most likely response you will get is "upgrade to a supported version".

You can still run these versions with Lando but for all intents and purposes they should be considered unsupported.

Patch versions

Not officially supported!

While we allow users to specify patch versions for this service, they are not officially supported, so if you use one, YMMV.

To use a patch version, you can do something as shown below:

yaml
services:
  myservice:
    type: postgres:9.6.11

But make sure you use one of the available patch tags for the underlying image we are using.