Quay 3 on Openshift
Download all the yaml files
mkdir quaydeploy
cd quaydeploy
cd ~/quaydeploy
wget https://coreos.com/quay-enterprise/docs/latest/tectonic/files/quay-enterprise-namespace.yml
wget https://coreos.com/quay-enterprise/docs/latest/tectonic/files/quay-enterprise-config-secret.yml
wget https://coreos.com/quay-enterprise/docs/latest/tectonic/files/quay-enterprise-redis.yml
wget https://coreos.com/quay-enterprise/docs/latest/tectonic/files/quay-enterprise-app-rc.yml
wget https://coreos.com/quay-enterprise/docs/latest/tectonic/files/quay-enterprise-service-nodeport.yml
wget https://coreos.com/quay-enterprise/docs/latest/tectonic/files/quay-enterprise-service-loadbalancer.yml
wget https://coreos.com/quay-enterprise/docs/latest/tectonic/files/quay-servicetoken-role-k8s1-6.yaml
wget https://coreos.com/quay-enterprise/docs/latest/tectonic/files/quay-servicetoken-role-binding-k8s1-6.yaml
Login to your openshift environment
oc login https://your.openshift.server:8443
Process the yaml files
oc create -f quay-enterprise-namespace.yml
oc project quay-enterprise
oc create -f quay-enterprise-config-secret.yml
oc create -f quay-servicetoken-role-k8s1-6.yaml
oc create -f quay-servicetoken-role-binding-k8s1-6.yaml
oc adm policy add-scc-to-user anyuid system:serviceaccount:quay-enterprise:default
oc create -f quay-enterprise-redis.yml
oc create -f quay-enterprise-app-rc.yml
oc create -f quay-enterprise-service-loadbalancer.yml
Create the database
oc new-app --template=postgresql-persistent -p POSTGRESQL_USER=quayuser -p POSTGRESQL_PASSWORD=quaypass -p POSTGRESQL_DATABASE=quaydb -p POSTGRESQL_VERSION=9.6
Process some database tweaks
oc rsh `oc get pods|grep postgresql | awk {'print $1'}`
echo "CREATE EXTENSION pg_trgm" | /opt/rh/rh-postgresql96/root/usr/bin/psql
echo "SELECT * FROM pg_extension" | /opt/rh/rh-postgresql96/root/usr/bin/psql
echo "ALTER USER quayuser WITH SUPERUSER;" | /opt/rh/rh-postgresql96/root/usr/bin/psql
Add a route
oc expose svc/quay-enterprise --name=quay --hostname=quay.YOURAPPDOMAIN.COM
Finish setup
Point your browser to http://quay.YOURAPPDOMAIN.COM/setup
Follow the rest of the guide here https://access.redhat.com/documentation/en-us/red_hat_quay/2.9/html/deploy_red_hat_quay_on_openshift/completing_the_guided_setup