prorvazz / opensfhift-wordpress

Deploying wordpress with mysql on OpenShift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WordPress Template for OpenShift

This repo contains two templates for deploying WordPress on OpenShift using your own copy of WordPress with any customizations you have made.

Prerequisites

Both of the templates below are configured to use persistent volumes for WordPress (uploads) and MySQL (data). You will need to have available PersistentVolumes in your environment before deploying an application from either template.

If you do not want to use persistent volumes, you can modify the templates to remove the PersistentVolumeClaim and volume definitions for each DeploymentConfig.

Files

wordpress-mysql-template.yaml will deploy both WordPress and MySQL in OpenShift with the correct items to connect them together (it does this automatically for you)

wordpress-template.yaml will deploy only WordPress and requires you to specify your database connection information for an existing database

References

Below are some links that I used at some point as reference to build these templates.

About

Deploying wordpress with mysql on OpenShift


Languages

Language:PHP 72.0%Language:JavaScript 15.1%Language:CSS 13.0%