Compare commits

..

6 Commits

Author SHA1 Message Date
ed1f6aba67 fix: change image container 2024-05-21 14:02:24 +07:00
e9c82d31c7 fix: dockerfile 2024-02-26 12:33:33 +07:00
e31d6de203 add: k8s 2024-02-26 12:04:49 +07:00
cf6f6e29b0 add: docker file 2024-02-26 11:57:05 +07:00
b796ae8b1d fix card service 2024-02-01 13:19:19 +07:00
8d39c237f4 add new logo 2024-01-23 13:50:07 +07:00
23 changed files with 15602 additions and 73492 deletions

2
.dockerignore Normal file
View File

@ -0,0 +1,2 @@
.git/
k8s/

View File

@ -1,3 +0,0 @@
{
"CurrentProjectSetting": null
}

View File

@ -1,6 +0,0 @@
{
"ExpandedNodes": [
""
],
"PreviewInSolutionExplorer": false
}

Binary file not shown.

Binary file not shown.

5
Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM nginx:alpine
COPY . /usr/share/nginx/html/
EXPOSE 80

View File

@ -1,13 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Downloads</title>
</head>
<body>
<h1>Downloads</h1>
<ul>
<li><a id="https://www.acsabadi.com/" href="index.html"> ACSA </a></li>
</ul>
</body>
<head>
<meta charset="UTF-8">
<title> Downloads </title>
</head>
<body>
<h1> Downloads </h1>
<ul>
<li><a id="https://www.acsabadi.com/" href="index.html"> ACSA </a></li>
</ul>
</body>
</html>

10549
blog.html

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

10277
cart.html

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

11605
history.html

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 52 KiB

10901
index.html

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,22 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: acsa-web
namespace: empatnusabangsa-production
spec:
selector:
matchLabels:
app: acsa-web
replicas: 1
template:
metadata:
labels:
app: acsa-web
spec:
containers:
- name: acsa-web
image: git.empatnusabangsa.com/empatnusabangsa/acsa-web:<VERSION>
ports:
- containerPort: 80
imagePullSecrets:
- name: regcred

View File

@ -0,0 +1,25 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: acsa-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.acsabadi.com"
http:
paths:
- pathType: Prefix
path: /
backend:
service:
name: acsa-web
port:
number: 80
tls:
- hosts:
- "www.acsabadi.com"
secretName: www-acsabadi-com-tls

View 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

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: empatnusabangsa-production

View File

@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: acsa-web
namespace: empatnusabangsa-production
labels:
run: acsa-web
spec:
ports:
- port: 80
protocol: TCP
selector:
app: acsa-web

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long