add nginx Dockerfile and update tags in values.yaml

This commit is contained in:
Pavel Umansky 2026-04-22 20:00:34 +02:00
parent 6cbb79b680
commit 54cd6be164
2 changed files with 5 additions and 2 deletions

3
z2/nginx/Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM nginx:latest
COPY ./nginx/nginx.conf /etc/nginx/nginx.conf
COPY ./frontend/index.html /usr/share/nginx/html/index.html

View File

@ -2,7 +2,7 @@ namespace: application
backend: backend:
image: ghcr.io/miracleqxz/k8s_project/backend image: ghcr.io/miracleqxz/k8s_project/backend
tag: "bf61386ebbd27aef40641dfccc19819382341655" tag: "latest"
replicas: 2 replicas: 2
port: 5000 port: 5000
resources: resources:
@ -13,7 +13,7 @@ backend:
frontend: frontend:
image: ghcr.io/miracleqxz/k8s_project/web image: ghcr.io/miracleqxz/k8s_project/web
tag: "bf61386ebbd27aef40641dfccc19819382341655" tag: "latest"
replicas: 1 replicas: 1
port: 80 port: 80
nodePort: 30856 nodePort: 30856