Skip to content
This repository was archived by the owner on May 7, 2026. It is now read-only.

rowanlucas/WordPress-Docker-Dev-Environment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordPress Docker Dev Environment

Used for plugin or theme development for WordPress

Instructions

  • Clone this repo (above) to your local machine
  • Install Docker
  • Download the latest version of WordPress
  • Unzip WordPress and copy the contents into 'wordpress' in your cloned repo
  • Open the cloned repo folder in any command-line tool
  • Run docker-compose up -d --build
  • Open localhost in your browser
  • Run initial wordpress installation using 'wordpress' for names and 'secret' for passwords (these values can be changed in docker-compose.yml)
  • To stop running on localhost, run docker-compose down
  • Run docker-compose -d --build any time to start it again-- your changes within wp should persist
  • Tip: add define('FS_METHOD','direct'); to wordpress/wp-config.php to avoid issues with FTP when installing test plugins

Credit

Built with this tutorial by aschmelyun. Refer to this video if you have issues with the certificates or database connection.

About

Used for plugin or theme development for WordPress

Resources

License

Stars

Watchers

Forks

Contributors