diff --git a/infra/k8s/base/backend-service.yaml b/infra/k8s/base/backend-service.yaml index 51f34dc..9317e00 100644 --- a/infra/k8s/base/backend-service.yaml +++ b/infra/k8s/base/backend-service.yaml @@ -11,7 +11,7 @@ spec: app: workclub-api ports: - name: http - port: 80 + port: 5001 targetPort: 8080 - nodePort: 30081 + nodePort: 5001 protocol: TCP diff --git a/infra/k8s/base/configmap.yaml b/infra/k8s/base/configmap.yaml index 67f7b5f..4df80d9 100644 --- a/infra/k8s/base/configmap.yaml +++ b/infra/k8s/base/configmap.yaml @@ -6,10 +6,10 @@ metadata: app: workclub data: log-level: "Information" - cors-origins: "http://localhost:3000,http://192.168.240.200:30080" - api-base-url: "http://192.168.240.200:30081" - keycloak-url: "http://192.168.240.200:30082" - keycloak-authority: "http://192.168.240.200:30082/realms/workclub" + cors-origins: "http://localhost:3000,http://192.168.240.200:3000,http://192.168.240.200:8080" + api-base-url: "http://192.168.240.200:5001" + keycloak-url: "http://192.168.240.200:8080" + keycloak-authority: "http://192.168.240.200:8080/realms/workclub" keycloak-audience: "workclub-api" keycloak-realm: "workclub" diff --git a/infra/k8s/base/frontend-deployment.yaml b/infra/k8s/base/frontend-deployment.yaml index ce73567..92e5df0 100644 --- a/infra/k8s/base/frontend-deployment.yaml +++ b/infra/k8s/base/frontend-deployment.yaml @@ -67,8 +67,8 @@ spec: configMapKeyRef: name: workclub-config key: keycloak-authority - - name: NEXTAUTH_URL - value: "http://192.168.240.200:30080" + - name: NEXTAUTH_URL + value: "http://192.168.240.200:3000" - name: AUTH_TRUST_HOST value: "true" - name: NEXTAUTH_SECRET diff --git a/infra/k8s/base/frontend-service.yaml b/infra/k8s/base/frontend-service.yaml index d9005b5..7f80b11 100644 --- a/infra/k8s/base/frontend-service.yaml +++ b/infra/k8s/base/frontend-service.yaml @@ -11,7 +11,7 @@ spec: app: workclub-frontend ports: - name: http - port: 80 + port: 3000 targetPort: 3000 - nodePort: 30080 + nodePort: 3000 protocol: TCP diff --git a/infra/k8s/base/keycloak-service.yaml b/infra/k8s/base/keycloak-service.yaml index e32661d..9617c78 100644 --- a/infra/k8s/base/keycloak-service.yaml +++ b/infra/k8s/base/keycloak-service.yaml @@ -11,7 +11,7 @@ spec: app: workclub-keycloak ports: - name: http - port: 80 + port: 8080 targetPort: 8080 - nodePort: 30082 + nodePort: 8080 protocol: TCP