A local Wordpress instance using docker-compose.
The project contains a docker-compose
which configures a local Wordpress instanace with MySQL.
It also has persistence unit so your changes won't get lost after stopping the containers.
- MySQL accessible via
localhost:3306
withroot
andsecret
credentials - Wordpress accessible via
localhost
To start just run the docker-compose,
$ docker-compose up -d
To stop (but keeping the persisted data),
$ docker-compose down
To stop and remove data (volumes)
$ docker-compose down -v
Do not use this set up for production. This is suitable for local testing only.