fix: dockerfile
This commit is contained in:
parent
e31d6de203
commit
e9c82d31c7
2
.dockerignore
Normal file
2
.dockerignore
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
.git/
|
||||||
|
k8s/
|
|
@ -1,5 +1,5 @@
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|
||||||
COPY * /usr/share/nginx/html/
|
COPY . /usr/share/nginx/html/
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: zozo-fe-ingress
|
name: acsa-web-ingress
|
||||||
namespace: empatnusabangsa-production
|
namespace: empatnusabangsa-production
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: "traefik"
|
kubernetes.io/ingress.class: "traefik"
|
||||||
|
@ -9,17 +9,17 @@ metadata:
|
||||||
traefik.ingress.kubernetes.io/router.middlewares: empatnusabangsa-production-redirect-https@kubernetescrd
|
traefik.ingress.kubernetes.io/router.middlewares: empatnusabangsa-production-redirect-https@kubernetescrd
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: "zozo-prod.k3s.bangun-kreatif.com"
|
- host: "www.acsabadi.com"
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- pathType: Prefix
|
- pathType: Prefix
|
||||||
path: /
|
path: /
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: zozo-fe
|
name: acsa-web
|
||||||
port:
|
port:
|
||||||
number: 3000
|
number: 80
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- "zozo-prod.k3s.bangun-kreatif.com"
|
- "www.acsabadi.com"
|
||||||
secretName: zozo-prod-k3s-bangun-kreatif-com-tls
|
secretName: www-acsabadi-com-tls
|
||||||
|
|
Loading…
Reference in New Issue
Block a user