Skip to content

ko31/wp-dev-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WP Dev Docker

This is a Wordpress development environment with Docker and Docker Compose.

Getting Started

  1. git clone https://github.com/ko31/wp-dev-docker.git <my-project-name>
  2. cd <my-project-name>
  3. docker-compose up -d
  4. Visit WordPress in your browser http://localhost:8000

Usage

Create containers.

docker-compose up -d

Start containers.

docker-compose start

Stop containers.

docker-compose stop

Shutdown containers.

docker-compose down

Shutdown and cleanup containers.

docker-compose down -v

Tools

MailCatcher

http://localhost:1080

Adminer

http://localhost:8080

Shell commands

SSH into WordPress container.

./bin/shell.sh

Call WP-CLI command.

./bin/wp.sh <command>

# Display the WordPress version
./bin/wp.sh core version

Create database dump.

./bin/export.sh

Import database dump.

./bin/import.sh

About

Wordpress development environment with Docker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published