Create a repository from this template and clone it.
docker
anddocker compose >= 2.0
make
make build
make start
At this point you can reach wordpress interface at http://localhost.
Wordpress port can be configured in the .env
file at WORDPRESS_PORT
.
make stop
All the wordpress parameters can be set in the .env
file.
Related blog post:
- WordPress Local Development Using Docker Compose: Deploy Wordpress on localhost using docker
- Docker WordPress Production Deployment: Step-by-step guide to deploy WordPress online using docker-compose
- Using Docker WordPress Cli to Manage WordPress Websites: Commande line interface for managing a WordPress website
The installation tool kit, provided here, include:
- Nginx web server
- MariaDB/MySQL used for Wordpress database
- phpMyAdmin interface to connect to your MySQL database
- WP-Cli: Wordpress Command Line Interface
- Makefile directives for automatization.
Huge thanks to the original repository author Kassambara.