https://github.com/p810/wp-docker
A lightweight Docker container for WordPress development.
https://github.com/p810/wp-docker
Last synced: 5 months ago
JSON representation
A lightweight Docker container for WordPress development.
- Host: GitHub
- URL: https://github.com/p810/wp-docker
- Owner: p810
- Created: 2018-01-09T23:16:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-10T00:02:24.000Z (over 8 years ago)
- Last Synced: 2025-06-09T23:42:54.906Z (about 1 year ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# wp-docker
> A lightweight Docker set up for WordPress development.
## Usage
This environment requires [Docker](https://docker.com).
Clone this repository into a directory to contain your installation of WordPress.
After cloning and entering that directory, run `docker-compose up` to install the
necessary containers.
You should see a message indicating that the installation was successful. You may
now navigate to `localhost:8080` to install WordPress.
### Starting and stopping
To stop the server, run `docker-compose stop`. To start it again, `docker-compose start`. :grin:
### Destruction
If you wish to get rid of this installation of WordPress, database and all, run
`docker-compose down`. Unless you've made a backup this is irreversible.
## Version control
This repository's `.gitignore` will ignore every file except itself, this file,
and `docker-compose.yml`.
If you're planning to commit WordPress files to a Git repository, I recommend only
making exceptions in `.gitignore` for those that are specific to _your_ site, e.g.
plugins and themes, since core WordPress files are handled by the container.
(Disclaimer: I haven't tested how installation will behave when `/wp-content` is
already present in the directory. I intend to do this at some point.)