Sample Wordpress docker-compose for local development
- wordpress@latest: running in http://localhost:8080
- phpmyadmin/phpmyadmin: running in http://localhost:8888
- mysql@v5.7
Clone this repository
git clone https://github.com/liemlylac/wordpress-docker-composechange dir to wordpress-docker-compose
cd wordpress-docker-composePull docker image and start container
docker-compose upCtl + C to stop running container when you are attaching
Start all container without attach
docker-compose up -dStop all running container
docker-compose stopStop all running container
docker-compose stopStop and delete all container
docker-compose downOS: Windows 10 1909 (build 18363.657) Docker: 19.03.5 (build 633a0ea) Docker Compose: 1.25.4 (build 8d51620a) Docker Desktop: 2.2.0.3 (build 42716)