openshift-letsencrypt

Template for running a nginx container for a static website.

###Installation

You need oc (openshift cli tool) localy installed:

create a new project

oc new-project letsencrypt \
    --description="Letsencrypt - Automated SSL authority" \
    --display-name="Letsencrypt"

####Clone the repository

git clone git@github.com:ure/openshift-letsencrypt.git
cd openshift-letsencrypt

####Create the app

oc create -f PersistentVolumeClaim.yaml
oc create -f GlusterFS-Cluster.yaml
oc create -f BuildConfig.yaml
oc create -f DeploymentConfig.yaml
oc new-app https://github.com/ure/openshift-letsencrypt.git
oc start-build openshift-letsencrypt

####Add some external routes

Routes to a static hostname (edit !!)

oc create -f Route.yaml