During this lab, we will deploy Gogs (Git repository management software) with a PostgreSQL backend, using all of the knowledge that we have acquired so far.
Using templates to deploy a multi-tier application
The Gogs application template
We are going to use a template from the OpenShift demos that are available at https://raw.githubusercontent.com/OpenShiftDemos/gogs-openshift-docker/master/openshift/gogs-template.yaml:
Let's download this template locally using the following command:
# curl -O https://raw.githubusercontent.com/OpenShiftDemos/gogs-openshift-docker/master/openshift/gogs-template.yaml
According to the preceding output, most parameters have a default value (except for the HOSTNAME parameter). If you need...