In this post, I will show you how its easy to setup the dockized development environment for WordPress.
- The very first step is to clone this repository https://github.com/iamsajidjaved/docker-compose-wordpress.
- Now go inside
docker-compose-wordpress
directory and change thedocker-compose.yml
file as per your needs. You may need to change thepasswords
andports
etc. - After finishing the configuration just run
docker-compose up
. This command will first pull all the images from the dockerhub and then will create containers for you. - On the fourth step, you should create database for your WordPress project. Access
http://localhost:8081
if you have not change the port. Enter theuser and password
to login. Don't need to enter thehost
. Keep thehost
empty. 5. The fifth step is to access WordPress. Enterhttp://localhost:8000
if you have not changed the port. You will see the WordPress installation page. - Finish the WordPress installation.
That's it!
Top comments (0)