Walking through what this does:
oc new-project rocketchat
oc new-app mongodb:latest -e MONGODB_ADMIN_PASSWORD=adminpassword \
-e MONGODB_USER=rocketchat -e MONGODB_PASSWORD=userpassword \
oc new-app rocketchat/rocket.chat:latest \
oc create route edge --service=rocketchat
1. We create a new namespace in which to host our application
2. We deploy a Mongo database, setting some startup parameters
3. We deploy the RocketChat container, passing in the location of the mongodb. Note how we use the SkyDNS hostname of the service that has been automatically created for the Mongo database.
4. Finally we create an edge-terminated TLS public route to the automatically-created rocketchat service. And it really is that simple, no messing about with certificates or nginx, no deploying of AWS servers – a highly available, secured RocketChat server deployed in under a minute!