Compare commits
	
		
			25 Commits
		
	
	
		
			3626b52562
			...
			main
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| a03ed91900 | |||
| 3bd1b0e2b3 | |||
| ca7ed6702d | |||
| 6b3b148ae0 | |||
| b5bac8a1bb | |||
| 097d1d2905 | |||
| 3dba6b8466 | |||
| 5b69cd3cbf | |||
| 3592eecb34 | |||
| 518bde23fd | |||
| 179cde84cb | |||
| 9dbf792db4 | |||
| cec79ad6a1 | |||
| 33409b059c | |||
| fa22436826 | |||
| db0b54b2c8 | |||
| 27be6283a3 | |||
| 7921f9e711 | |||
| f327e186c6 | |||
| 6cd355f902 | |||
| 3659b2f749 | |||
| 67abca66b1 | |||
| dbfc3a6dc0 | |||
| d0998a77ff | |||
| e1128761e2 | 
							
								
								
									
										2
									
								
								.dockerignore
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								.dockerignore
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
.git/
 | 
			
		||||
k8s/
 | 
			
		||||
							
								
								
									
										5
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
FROM nginx:alpine
 | 
			
		||||
 | 
			
		||||
COPY . /usr/share/nginx/html/
 | 
			
		||||
 | 
			
		||||
EXPOSE 80
 | 
			
		||||
							
								
								
									
										1725
									
								
								contact.html
									
									
									
									
									
								
							
							
						
						
									
										1725
									
								
								contact.html
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1879
									
								
								index.html
									
									
									
									
									
								
							
							
						
						
									
										1879
									
								
								index.html
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										22
									
								
								k8s/production/deployment.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								k8s/production/deployment.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
			
		||||
apiVersion: apps/v1
 | 
			
		||||
kind: Deployment
 | 
			
		||||
metadata:
 | 
			
		||||
  name: empatnusabangsa-web
 | 
			
		||||
  namespace: empatnusabangsa-production
 | 
			
		||||
spec:
 | 
			
		||||
  selector:
 | 
			
		||||
    matchLabels:
 | 
			
		||||
      app: empatnusabangsa-web
 | 
			
		||||
  replicas: 1
 | 
			
		||||
  template:
 | 
			
		||||
    metadata:
 | 
			
		||||
      labels:
 | 
			
		||||
        app: empatnusabangsa-web
 | 
			
		||||
    spec:
 | 
			
		||||
      containers:
 | 
			
		||||
        - name: empatnusabangsa-web
 | 
			
		||||
          image: git.empatnusabangsa.com/empatnusabangsa/empatnusabangsa-web:<VERSION>
 | 
			
		||||
          ports:
 | 
			
		||||
            - containerPort: 80
 | 
			
		||||
      imagePullSecrets:
 | 
			
		||||
        - name: regcred
 | 
			
		||||
							
								
								
									
										36
									
								
								k8s/production/ingress.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								k8s/production/ingress.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,36 @@
 | 
			
		||||
apiVersion: networking.k8s.io/v1
 | 
			
		||||
kind: Ingress
 | 
			
		||||
metadata:
 | 
			
		||||
  name: empatnusabangsa-web-ingress
 | 
			
		||||
  namespace: empatnusabangsa-production
 | 
			
		||||
  annotations:
 | 
			
		||||
    kubernetes.io/ingress.class: "traefik"
 | 
			
		||||
    cert-manager.io/cluster-issuer: letsencrypt-prod
 | 
			
		||||
    traefik.ingress.kubernetes.io/router.middlewares: empatnusabangsa-production-redirect-https@kubernetescrd
 | 
			
		||||
spec:
 | 
			
		||||
  rules:
 | 
			
		||||
    - host: "www.empatnusabangsa.com"
 | 
			
		||||
      http:
 | 
			
		||||
        paths:
 | 
			
		||||
          - pathType: Prefix
 | 
			
		||||
            path: /
 | 
			
		||||
            backend:
 | 
			
		||||
              service:
 | 
			
		||||
                name: empatnusabangsa-web
 | 
			
		||||
                port:
 | 
			
		||||
                  number: 80
 | 
			
		||||
    - host: "empatnusabangsa.com"
 | 
			
		||||
      http:
 | 
			
		||||
        paths:
 | 
			
		||||
          - pathType: Prefix
 | 
			
		||||
            path: /
 | 
			
		||||
            backend:
 | 
			
		||||
              service:
 | 
			
		||||
                name: empatnusabangsa-web
 | 
			
		||||
                port:
 | 
			
		||||
                  number: 80
 | 
			
		||||
  tls:
 | 
			
		||||
    - hosts:
 | 
			
		||||
        - "www.empatnusabangsa.com"
 | 
			
		||||
        - "empatnusabangsa.com"
 | 
			
		||||
      secretName: www-empatnusabangsa-com-tls
 | 
			
		||||
							
								
								
									
										9
									
								
								k8s/production/middleware.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								k8s/production/middleware.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
apiVersion: traefik.containo.us/v1alpha1
 | 
			
		||||
kind: Middleware
 | 
			
		||||
metadata:
 | 
			
		||||
  name: redirect-https
 | 
			
		||||
  namespace: empatnusabangsa-production
 | 
			
		||||
spec:
 | 
			
		||||
  redirectScheme:
 | 
			
		||||
    scheme: https
 | 
			
		||||
    permanent: true
 | 
			
		||||
							
								
								
									
										4
									
								
								k8s/production/namespace.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								k8s/production/namespace.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
apiVersion: v1
 | 
			
		||||
kind: Namespace
 | 
			
		||||
metadata:
 | 
			
		||||
  name: empatnusabangsa-production
 | 
			
		||||
							
								
								
									
										13
									
								
								k8s/production/service.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								k8s/production/service.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
apiVersion: v1
 | 
			
		||||
kind: Service
 | 
			
		||||
metadata:
 | 
			
		||||
  name: empatnusabangsa-web
 | 
			
		||||
  namespace: empatnusabangsa-production
 | 
			
		||||
  labels:
 | 
			
		||||
    run: empatnusabangsa-web
 | 
			
		||||
spec:
 | 
			
		||||
  ports:
 | 
			
		||||
    - port: 80
 | 
			
		||||
      protocol: TCP
 | 
			
		||||
  selector:
 | 
			
		||||
    app: empatnusabangsa-web
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								public/mail-outline.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								public/mail-outline.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 1.5 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								public/placeholder.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								public/placeholder.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 3.4 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								public/whatsapp.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								public/whatsapp.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 3.9 KiB  | 
		Reference in New Issue
	
	Block a user