feat: NCS-74 Frontend Deployment config files #119

Merged
Janis merged 2 commits from feat/NCS-75 into main 2026-05-12 11:18:30 +02:00
4 changed files with 47 additions and 0 deletions
Showing only changes of commit 4776883125 - Show all commits
+9
View File
@@ -651,6 +651,15 @@ spec:
- name: nowchess-frontend
image: ghcr.io/now-chess/now-chess-systems/frontend:latest
imagePullPolicy: Always
env:
- name: REACT_APP_API_URL
value: http://nowchess-core-active:8080
- name: REACT_APP_ACCOUNT_URL
value: http://nowchess-account-active:8083
- name: REACT_APP_STORE_URL
value: http://nowchess-store-active:8085
- name: REACT_APP_WS_URL
value: http://nowchess-ws-active:8084
ports:
- containerPort: 80
protocol: TCP
+24
View File
@@ -223,3 +223,27 @@ spec:
- protocol: TCP
port: 8084
targetPort: 8084
---
apiVersion: v1
kind: Service
metadata:
name: nowchess-frontend-active
spec:
selector:
app: nowchess-frontend
ports:
- protocol: TCP
port: 80
targetPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: nowchess-frontend-preview
spec:
selector:
app: nowchess-frontend
ports:
- protocol: TCP
port: 80
targetPort: 80
+7
View File
@@ -41,6 +41,13 @@ spec:
name: nowchess-core-active
port:
number: 8080
- path: /
pathType: Prefix
backend:
service:
name: nowchess-frontend-active
port:
number: 80
tls:
- hosts:
- nowchess.janis-eccarius.de
@@ -41,6 +41,13 @@ spec:
name: nowchess-core-active
port:
number: 8080
- path: /
pathType: Prefix
backend:
service:
name: nowchess-frontend-active
port:
number: 80
tls:
- hosts:
- st.nowchess.janis-eccarius.de