diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..34064d7 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +.git/ +k8s/ \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index b59d41c..5a6b62f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM nginx:alpine -COPY * /usr/share/nginx/html/ +COPY . /usr/share/nginx/html/ EXPOSE 80 \ No newline at end of file diff --git a/k8s/production/ingress.yaml b/k8s/production/ingress.yaml index 8aa675f..b30bf45 100644 --- a/k8s/production/ingress.yaml +++ b/k8s/production/ingress.yaml @@ -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