Public Repository

Last pushed: 3 months ago
Short Description
Easy wordpress packaged with nginx and php7
Full Description


How to Install

These instructions assume that you've already created a useable database for your Wordpess installation, along with having the required credentials. If you need help on creating a database, you can learn how, here.

  • Download the git repository
    • git clone
  • Change to the greathouse-wordpress directory
    • cd greathouse-wordpress

Docker Installation

Docker Management Instructions

Building the App

docker build -t jessegreathouse/greathouse-wordpress .

Pushing the App

docker push jessegreathouse/greathouse-wordpress

Running the APP

docker run -p 3000:3000 \
    -e ENV=prod \
    -e DEBUG=false \
    -e FORCE_SSL=false \
    -e DIR="/app" \
    -e BIN="/app/bin" \
    -e ETC="/app/etc" \
    -e OPT="/app/opt" \
    -e SRC="/app/src" \
    -e TMP="/app/tmp" \
    -e VAR="/app/var" \
    -e WEB="/app/web" \
    -e CACHE_DIR="/app/var/cache" \
    -e LOG_DIR="/app/var/logs" \
    -e REDIS_HOST=redis \
    -e DB_NAME=wp_name \
    -e DB_USER=wp_user \
    -e DB_PASSWORD="wp_password" \
    -e DB_HOST="wp_host" \
    -e DB_PORT=3306 \
    -v $(pwd)/error.log:/app/error.log \
    -v $(pwd)/web/wp-config.php:/app/web/wp-config.php \
    -v $(pwd)/etc/nginx/nginx.conf:/app/etc/nginx/nginx.conf \
    -v $(pwd)/web/wp-content/plugins:/app/web/wp-content/plugins \
    -v $(pwd)/web/wp-content/themes:/app/web/wp-content/themes \
    -v $(pwd)/web/wp-content/uploads:/app/web/wp-content/uploads \
    --name greathouse-wordpress \

Running Tests

docker exec -ti greathouse-wordpresss
Docker Pull Command