Postgres

The Lagoon Postgres Docker image. Based on the official Postgres Alpine images.

Supported versions

Tips & Tricks

If you have SQL statements that need to be run immediately after container startup to initialize the database, you can place those .sql files in the container's docker-entrypoint-initdb.d directory. Any .sql files contained in that directory are run automatically at startup, as part of bringing the Postgres container up.

Hint

Take note that these scripts are only run if the container is started with an empty database.