Modern WordPress Project — Setup Docker-Compose with WordPress

Malith Priyashan
3 min readMay 1, 2020

Modern WordPress Project
Learn to build full stack websites using headless WordPress and Next.JS

Photo by Launchpresso on Unsplash

Checkout the video:

Today I want to share with you how I set up my local WordPress with Docker-Compose. Hopefully, you can get some use out of it.

As the first step of the Modern WordPress Project, We are going to start setting up our local WordPress Multisite environment with Docker and Docker-Compose. This will allow us to start our WordPress locally in a few steps.

Stop wasting time setting up your local environment and start developing.

Step 1:
Download Docker on your Mac or PC: https://www.docker.com/products/docker-desktop

Once you have downloaded and installed the Docker desktop let’s jump to Step 2:
Create a new folder for Modern WordPress Project anywhere in your hard drive. For example mine is in:

--

--