How to Set Up a Local Database, Step by Step (PostgreSQL and MariaDB with Docker)
In our Local development setup guide we said every layer of your environment should be written down, so a new machine needs one command. This tutorial does exactly that for the layer that causes the most trouble: the database. By the end you'll have a PostgreSQL database that starts in seconds, is reachable only from your own computer, comes with realistic test data, and can be backed up, restored or wiped clean with a single command. A MariaDB + WordPress version follows, for headless WordPress work.
Read the post How to Set Up a Local Database, Step by Step (PostgreSQL and MariaDB with Docker) →
