/openshift-etherpad

Etherpad Container for use on top of Red Hat OpenShift

Primary LanguageDockerfile

Etherpad Container for Red Hat OpenShift

This repository provides an Etherpad Container to be run on Red Hat OpenShift. While you can build it yourself the easiest way to set up is to just deploy the image:

oc new-project etherpad

oc new-app --template=postgresql-persistent --param POSTGRESQL_USER=ether --param POSTGRESQL_PASSWORD=ether --param POSTGRESQL_DATABASE=etherpad --param POSTGRESQL_VERSION=10 --param VOLUME_CAPACITY=10Gi --labels=app=etherpad_db

sleep 15

# From Github Repo
oc new-app -f https://raw.githubusercontent.com/wkulhanek/docker-openshift-etherpad/master/etherpad-template.yaml -p DB_TYPE=postgres -p DB_HOST=postgresql -p DB_PORT=5432 -p DB_DATABASE=etherpad -p DB_USER=ether -p DB_PASS=ether -p ETHERPAD_IMAGE=quay.io/wkulhanek/etherpad:1.8.4 -p ADMIN_PASSWORD=secret

# From a cloned repo
# oc new-app -f ./etherpad-template.yaml -p DB_TYPE=postgres -p DB_HOST=postgresql -p DB_PORT=5432 -p DB_DATABASE=etherpad -p DB_USER=ether -p DB_PASS=ether -p ETHERPAD_IMAGE=quay.io/wkulhanek/etherpad:1.8.16 -p ADMIN_PASSWORD=secret

You can customize the Etherpad using the ConfigMap etherpad-settings in either the template - or after the template has been deployed in the project.