Skip to content

Commit

Permalink
Merge pull request #51 from sabbour/master
Browse files Browse the repository at this point in the history
Updated API since it uses port 8080
  • Loading branch information
sabbour committed Feb 3, 2020
2 parents 1fffe24 + e72d9f7 commit 4b470ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _entries/02-04 api.md
Expand Up @@ -8,7 +8,7 @@ parent-id: lab-ratingapp
The `rating-api` is a NodeJS application that connects to mongoDB to retrieve and rate items. Below are some of the details that you'll need to deploy this.

- `rating-api` on GitHub: <https://github.com/microsoft/rating-api>
- The container exposes port 3000
- The container exposes port 8080
- MongoDB connection is configured using an environment variable called `MONGODB_URI`

### Fork the application to your own GitHub repository
Expand Down Expand Up @@ -63,7 +63,7 @@ Find the `rating-api` service.
oc get svc rating-api
```

The service will be accessible at the following DNS name over port 3000: `rating-api.workshop.svc.cluster.local:3000` which is formed of `[service name].[project name].svc.cluster.local`. This resolves only within the cluster.
The service will be accessible at the following DNS name over port 8080: `rating-api.workshop.svc.cluster.local:8080` which is formed of `[service name].[project name].svc.cluster.local`. This resolves only within the cluster.

{% endcollapsible %}

Expand Down

0 comments on commit 4b470ce

Please sign in to comment.