Dockerfile for a minimal installation of WordPress on Ubuntu
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Dockerfile
LICENSE
README.md
nginx-wordpress-site.conf

README.md

mcskinner/wordpress

This repository contains a Dockerfile to for running Wordpress against an external database. For example, you can use Amazon RDS for a high-availability backing store instead of trying to manage your own data.

Currently this requires a WordPress config to be mounted into /var/www/html, but hopefully that restriction can be lifted to enable new installs easily.

For more detail on how this works, visit blog.mcskinner.com.

Base Docker Image

Usage

docker run -d -p 80:80 \
  -v $(pwd)/config/wp-config.php:/var/www/html/wp-config.php \
  mcskinner/wordpress