Skip to content

Simple dockerized wordpress template to get up and running with Wordpress quickly.

License

Notifications You must be signed in to change notification settings

levijackson/docker-wordpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Wordpress

An easy way to set up a Wordpress install to do theme or plugin development.

Setup

  1. Start the containers docker-compose up -d
  2. Install Wordpress http://localhost:8000
  3. Log into PHPMyAdmin http://localhost:8080
  • use the credentials from .env (MYSQL_USER and MYSQL_PASSWORD)

If you'd like to customize the username/password for mysql, set the environment variables.

MYSQL_ROOT_PASSWORD=<value> MYSQL_DATABASE=<value> MYSQL_USER=<value> MYSQL_PASSWORD=<value> docker-compose up -d

Working with Wordpress

The wp-content/ directory gets mounted to the directory this runs in. It will allow you to copy plugins or themes into it from your file system easily.

Shutting down

docker-compose down will turn off the containers, but the volumes will persist. If you want to start fresh and delete the database, run docker-compose down --volumes and it will delete the volumes.

About

Simple dockerized wordpress template to get up and running with Wordpress quickly.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages