Skip to content

Commit 4033f41

Browse files
jeffmendozaJon Wayne Parrott
authored andcommitted
Update Endpoints sample container ports. (#661)
1 parent fb94938 commit 4033f41

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

endpoints/getting-started/Dockerfile.custom

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ ADD . /app
99
WORKDIR /app
1010

1111
RUN pip install -r requirements.txt
12-
ENTRYPOINT ["gunicorn", "-b", ":8081", "main:app"]
12+
ENTRYPOINT ["gunicorn", "-b", ":8080", "main:app"]

endpoints/getting-started/container-engine.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ metadata:
1919
spec:
2020
ports:
2121
- port: 80
22-
targetPort: 8080
22+
targetPort: 8081
2323
protocol: TCP
2424
name: http
2525
selector:
@@ -42,15 +42,15 @@ spec:
4242
- name: esp
4343
image: b.gcr.io/endpoints/endpoints-runtime:0.3
4444
args: [
45-
"-p", "8080",
46-
"-a", "127.0.0.1:8081",
45+
"-p", "8081",
46+
"-a", "127.0.0.1:8080",
4747
"-s", "SERVICE_NAME",
4848
"-v", "SERVICE_VERSION",
4949
]
5050
# [END esp]
5151
ports:
52-
- containerPort: 8080
52+
- containerPort: 8081
5353
- name: echo
5454
image: gcr.io/google-samples/echo-python:1.0
5555
ports:
56-
- containerPort: 8081
56+
- containerPort: 8080

0 commit comments

Comments
 (0)