Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
ed1f6aba67 | |||
e9c82d31c7 | |||
e31d6de203 | |||
cf6f6e29b0 | |||
b796ae8b1d | |||
8d39c237f4 |
2
.dockerignore
Normal file
2
.dockerignore
Normal file
|
@ -0,0 +1,2 @@
|
|||
.git/
|
||||
k8s/
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"CurrentProjectSetting": null
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"ExpandedNodes": [
|
||||
""
|
||||
],
|
||||
"PreviewInSolutionExplorer": false
|
||||
}
|
Binary file not shown.
Binary file not shown.
BIN
.vs/slnx.sqlite
BIN
.vs/slnx.sqlite
Binary file not shown.
5
Dockerfile
Normal file
5
Dockerfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
FROM nginx:alpine
|
||||
|
||||
COPY . /usr/share/nginx/html/
|
||||
|
||||
EXPOSE 80
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta charset="UTF-8">
|
||||
<title> Downloads </title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
File diff suppressed because one or more lines are too long
11480
getconnected.html
11480
getconnected.html
File diff suppressed because one or more lines are too long
10517
history.html
10517
history.html
File diff suppressed because one or more lines are too long
BIN
img/logoacsa.png
BIN
img/logoacsa.png
Binary file not shown.
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 52 KiB |
9905
index.html
9905
index.html
File diff suppressed because one or more lines are too long
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: 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
|
25
k8s/production/ingress.yaml
Normal file
25
k8s/production/ingress.yaml
Normal 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
|
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: acsa-web
|
||||
namespace: empatnusabangsa-production
|
||||
labels:
|
||||
run: acsa-web
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: acsa-web
|
9568
ourmission.html
9568
ourmission.html
File diff suppressed because one or more lines are too long
10508
services.html
10508
services.html
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user