# Go to operator project/ or create a new one. # Create the PostgreSQL from the catalogue with the default values # Create the app {code:java} $oc new-app golang~https://github.com/aerogear/mobile-security-service --strategy=docker -e PGHOST=postgresql --name=mobile-security-service-app {code} # Create the service for the new-app
https://docs.openshift.com/container-platform/3.11/architecture/core_concepts/pods_and_services.html#services
{code:java} oc expose deploymentconfig.apps.openshift.io/mobile-security-service- rest app - api - - port=3000 {code}
# Create a router for the api |
|