A simplified yet refined Docker Compose workflow of containers for local WordPress development.
WordPress always gets the latest version.
- WP ver latest
- PHP ver 8.0
- WP-CLI
- Mariadb ver 10.5.8
- Phpmyadmin
- Docker Desktop
- Node.js >= 16
To get started, make sure you have Docker installed on your system, and then clone this repository.
- Copy and past
.env.exeplmle
to your ROOT directory and change name for new file to.env
. - Next, navigate in your terminal to the directory you cloned this, and spin up the containers for the web server by running.
docker-compose up -d
After that completes, get your WordPress installation in to /wordpress
folder.
Next you can open your WordPress site
- wp frontend
open in browser http://localhost/
- wp admin
open in browser http://localhost/wp-admin/
Credentials:
user : admin
password : password
Also, you can open your phpmyadmin db visualiser
- phpmyadmin
open in browser http://localhost:8081/