Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

docker-wordpress

Docker for Wordpress server.

Install

You can pull or build the docker image :

docker pull hadim/docker-wordpress
# or
docker build -t hadim/docker-wordpress github.com/hadim/docker-wordpress

Usage

To launch a new and fresh wordpress server, run :

docker run -p 8080:80 --name wp -v ~/wp_backups:/backups hadim/docker-wordpress --url http://localhost:8080

Now you can connect and setup your wordpress website at http://localhost:8080.

Backup

Backup are made every day and are available in /backups or ~/wp_backups on host folder. You can manually launch backup :

docker exec wp /backup-wordpress-server.sh

To restore a backup, run :

docker run -p 8080:80 --name wp -v ~/wp_backups:/backups hadim/docker-wordpress --restore my_backup.7z --url http://localhost:8080

Note that you need to put my_backup.7z in /backups or ~/wp_backups on host folder.

Bash access to wordpress server running

docker exec -ti wp bash

Debug mode

To print all processes output to console, enable debug mode:

docker run -p 8080:80 --name wp -v ~/wp_backups:/backups -t hadim/docker-wordpress --debug

Authors

Hadrien Mary hadrien.mary@gmail.com

License

MIT License. See LICENSE.

Docker Pull Command
Owner
hadim
Source Repository

Comments (0)