add nginx Dockerfile and update tags in values.yaml
This commit is contained in:
parent
6cbb79b680
commit
54cd6be164
3
z2/nginx/Dockerfile
Normal file
3
z2/nginx/Dockerfile
Normal 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
|
||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user