1.0.9 • Published 7 years ago
@vitruviantech/wordpress v1.0.9
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
dockerdocker-compose- Docker host/daemon running
Deployment
- Launch any server instance.
- Install
dockeranddocker-compose. - Pull this repository (
git clone git@github.com:VitruvianTech/wordpress.) - Change to
wordpressproject 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
sslunder the project root. - Add your certificate and private key as
wordpress.crtandwordpress.keyunder thessldirectory.
To add an optional custom Nginx configuration:
- Create a directory called
etcunder the project root. - Add
nginx.confwith your custom Nginx and host configurations under theetcdirectory. - SSL certificate and key can be found inside the container under
/etc/nginx/ssl/(which can be referenced fromnginx.conf.)