https://github.com/ko31/wp-dev-docker
Wordpress development environment with Docker
https://github.com/ko31/wp-dev-docker
docker docker-compose wordpress
Last synced: about 2 months ago
JSON representation
Wordpress development environment with Docker
- Host: GitHub
- URL: https://github.com/ko31/wp-dev-docker
- Owner: ko31
- Created: 2018-12-03T00:25:49.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-08T00:42:49.000Z (over 7 years ago)
- Last Synced: 2025-07-15T03:44:09.413Z (12 months ago)
- Topics: docker, docker-compose, wordpress
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 `
1. `cd `
1. `docker-compose up -d`
1. 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
# Display the WordPress version
./bin/wp.sh core version
```
Create database dump.
`./bin/export.sh`
Import database dump.
`./bin/import.sh`