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
|
||||
|
||||
COPY * /usr/share/nginx/html/
|
||||
COPY . /usr/share/nginx/html/
|
||||
|
||||
EXPOSE 80
|
|
@ -1,7 +1,7 @@
|
|||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: zozo-fe-ingress
|
||||
name: acsa-web-ingress
|
||||
namespace: empatnusabangsa-production
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "traefik"
|
||||
|
@ -9,17 +9,17 @@ metadata:
|
|||
traefik.ingress.kubernetes.io/router.middlewares: empatnusabangsa-production-redirect-https@kubernetescrd
|
||||
spec:
|
||||
rules:
|
||||
- host: "zozo-prod.k3s.bangun-kreatif.com"
|
||||
- host: "www.acsabadi.com"
|
||||
http:
|
||||
paths:
|
||||
- pathType: Prefix
|
||||
path: /
|
||||
backend:
|
||||
service:
|
||||
name: zozo-fe
|
||||
name: acsa-web
|
||||
port:
|
||||
number: 3000
|
||||
number: 80
|
||||
tls:
|
||||
- hosts:
|
||||
- "zozo-prod.k3s.bangun-kreatif.com"
|
||||
secretName: zozo-prod-k3s-bangun-kreatif-com-tls
|
||||
- "www.acsabadi.com"
|
||||
secretName: www-acsabadi-com-tls
|
||||
|
|
Loading…
Reference in New Issue
Block a user