@vitruviantech/wordpress

VitruvianTech™ WordPress Server

Usage no npm install needed!

<script type="module">
  import vitruviantechWordpress from 'https://cdn.skypack.dev/@vitruviantech/wordpress';
</script>

README

VitruvianTech™ WordPress

This project is an open source Docker image of VitruvianTech's WordPress configuration.

The image is ready to be deployed to your AWS ECR repository and Elastic Beanstalks for immediate robust project management bootstrapping.

Requirements

  • docker
  • docker-compose
  • Docker host/daemon running

Deployment

  • Launch any server instance.
  • Install docker and docker-compose.
  • Pull this repository (git clone git@github.com:VitruvianTech/wordpress.)
  • Change to wordpress project directory (cd wordpress.)
  • Optional: Setup SSL configuration (see SSL/Nginx Configuration below.)
  • Install and run WordPress (see Installing/Running below.)

Installing/Running

Run docker-compose up (or npm run start) from the project directory.

After the image has been downloaded and the container has been started, WordPress should be running on the server at http://localhost:8080.

To run as a background process, execute docker-compose up & (see SSL/Nginx Configuration below for optional SSL setup.)

SSL/Nginx Configuration

To add SSL support:

  • Create a directory called ssl under the project root.
  • Add your certificate and private key as wordpress.crt and wordpress.key under the ssl directory.

To add an optional custom Nginx configuration:

  • Create a directory called etc under the project root.
  • Add nginx.conf with your custom Nginx and host configurations under the etc directory.
  • SSL certificate and key can be found inside the container under /etc/nginx/ssl/ (which can be referenced from nginx.conf.)