@vitruviantech/wordpress
v1.0.9
Published
VitruvianTech™ WordPress Server
Downloads
13
Maintainers
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
anddocker-compose
. - Pull this repository (
git clone [email protected]: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
andwordpress.key
under thessl
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 theetc
directory. - SSL certificate and key can be found inside the container under
/etc/nginx/ssl/
(which can be referenced fromnginx.conf
.)