Skip to content

Commit

Permalink
Update 1.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ilackarms committed May 24, 2018
1 parent 633ff12 commit 46650b5
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions docs/getting_started/docker/1.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ name: petstore
type: service
spec:
hosts:
- addr: 127.0.0.1
- addr: <ip of machine where you're running docker>
port: 9000
EOF
```
Expand All @@ -38,8 +38,6 @@ You should see a new upstream has been created.
+----------+---------+--------+----------+
```

On macOS, you will need to replace the IP address 127.0.0.1 with the IP address of the Docker host.

Verify that the upstream has been created.

```
Expand Down Expand Up @@ -94,14 +92,14 @@ functions:
metadata:
annotations:
gloo.solo.io/discovery-type: swagger
gloo.solo.io/swagger_url: http://127.0.0.1:9000/swagger.json
gloo.solo.io/swagger_url: http://10.74.150.107:9000/swagger.json
resource_version: "1"
name: petstore
service_info:
type: REST
spec:
hosts:
- addr: 127.0.0.1
- addr: 10.74.150.107
port: 9000
status:
state: Accepted
Expand Down Expand Up @@ -163,4 +161,4 @@ curl http://127.0.0.1:8080/petstore/list

The address of 127.0.0.1:8080 is the gateway (Envoy) address.

Great! our gateway is up and running. Let's make things a bit more sophisticated in the next section with [Function Routing](2.md).
Great! our gateway is up and running. Let's make things a bit more sophisticated in the next section with [Function Routing](2.md).

0 comments on commit 46650b5

Please sign in to comment.