Skip to content

Commit 3e3d0f4

Browse files
committed
Set ports to 8080 when deploying to GCloud.
1 parent 54b2cb8 commit 3e3d0f4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/docker_deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,22 +52,26 @@ jobs:
5252
--image docker.io/${{ secrets.DOCKERHUB_USERNAME }}/question-service:latest \
5353
--region asia-southeast1 \
5454
--env-vars-file=question-service/question-service/.env
55+
--set-env-vars PORT=8080
5556
--allow-unauthenticated
5657
5758
gcloud run deploy matching-service \
5859
--image docker.io/${{ secrets.DOCKERHUB_USERNAME }}/matching-service:latest \
5960
--region asia-southeast1 \
6061
--env-vars-file=matching-service/matching-service/.env
62+
--set-env-vars PORT=8080
6163
--allow-unauthenticated
6264
6365
gcloud run deploy user-service \
6466
--image docker.io/${{ secrets.DOCKERHUB_USERNAME }}/user-service:latest \
6567
--region asia-southeast1 \
6668
--env-vars-file=user-service/user-service/.env
69+
--set-env-vars PORT=8080
6770
--allow-unauthenticated
6871
6972
gcloud run deploy collaboration-service \
7073
--image docker.io/${{ secrets.DOCKERHUB_USERNAME }}/collaboration-service:latest \
7174
--region asia-southeast1 \
7275
--env-vars-file=collaboration-service/collaboration-service/.env
76+
--set-env-vars PORT=8080
7377
--allow-unauthenticated

0 commit comments

Comments
 (0)