From 8411ac4eef2e9e882bd8877ae47220eb019f00f1 Mon Sep 17 00:00:00 2001 From: Tay Yi Hsuen Date: Sat, 21 Oct 2023 20:39:30 +0800 Subject: [PATCH] Fix domain resolution (#162) Co-authored-by: Ong Jun Xiong Co-authored-by: Charisma Kausar Co-authored-by: Charisma Kausar <68203159+ckcherry23@users.noreply.github.com> Co-authored-by: Gabriel Goh <77230723+gycgabriel@users.noreply.github.com> Co-authored-by: chunweii <47494777+chunweii@users.noreply.github.com> --- deployment/gke-prod-manifests/gateway-service.yaml | 1 + deployment/prod-dockerfiles/Dockerfile.frontend-prod | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/deployment/gke-prod-manifests/gateway-service.yaml b/deployment/gke-prod-manifests/gateway-service.yaml index 9e2d3bf4..0bbcf2d9 100644 --- a/deployment/gke-prod-manifests/gateway-service.yaml +++ b/deployment/gke-prod-manifests/gateway-service.yaml @@ -12,5 +12,6 @@ spec: targetPort: 4000 selector: io.kompose.service: gateway + type: LoadBalancer status: loadBalancer: {} diff --git a/deployment/prod-dockerfiles/Dockerfile.frontend-prod b/deployment/prod-dockerfiles/Dockerfile.frontend-prod index 5a226dcc..8d47756c 100644 --- a/deployment/prod-dockerfiles/Dockerfile.frontend-prod +++ b/deployment/prod-dockerfiles/Dockerfile.frontend-prod @@ -23,7 +23,7 @@ RUN yarn prisma generate ARG NEXT_PUBLIC_FRONTEND_FIREBASE_CONFIG_ARG ENV NEXT_PUBLIC_FRONTEND_FIREBASE_CONFIG=$NEXT_PUBLIC_FRONTEND_FIREBASE_CONFIG_ARG -ENV NEXT_PUBLIC_GATEWAY_ADDRESS="http://gateway:4000/" +ENV NEXT_PUBLIC_GATEWAY_ADDRESS="http://api.codeparty.org:4000/" RUN yarn build