Skip to content

Commit 9837fe3

Browse files
committed
remove bbn.one
1 parent abcbb01 commit 9837fe3

3 files changed

Lines changed: 76 additions & 3 deletions

File tree

Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from denoland/deno as build
2+
3+
workdir /app/
4+
copy . /app/
5+
run deno run -A serve.ts build
6+
7+
from joseluisq/static-web-server
8+
9+
copy --from=build /app/dist /public/

kubernetes.yaml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: lucsoft-de
5+
spec:
6+
replicas: 1
7+
selector:
8+
matchLabels:
9+
app: lucsoft-de
10+
template:
11+
metadata:
12+
labels:
13+
app: lucsoft-de
14+
spec:
15+
securityContext:
16+
runAsUser: 1000
17+
runAsGroup: 1000
18+
runAsNonRoot: true
19+
containers:
20+
- name: lucsoft-de
21+
image: ghcr.io/lucsoft/website:latest
22+
imagePullPolicy: Always
23+
securityContext:
24+
seccompProfile:
25+
type: RuntimeDefault
26+
allowPrivilegeEscalation: false
27+
capabilities:
28+
drop:
29+
- ALL
30+
ports:
31+
- containerPort: 80
32+
---
33+
apiVersion: v1
34+
kind: Service
35+
metadata:
36+
name: lucsoft-de
37+
spec:
38+
selector:
39+
app: lucsoft-de
40+
ports:
41+
- port: 80
42+
targetPort: 80
43+
---
44+
apiVersion: networking.k8s.io/v1
45+
kind: Ingress
46+
metadata:
47+
name: lucsoft-de
48+
annotations:
49+
cert-manager.io/cluster-issuer: lucsoft-allinkl
50+
spec:
51+
tls:
52+
- hosts:
53+
- "*.lucsoft.de"
54+
- lucsoft.de
55+
secretName: lucsoft-tls
56+
rules:
57+
- host: lucsoft.de
58+
http:
59+
paths:
60+
- path: /
61+
pathType: Prefix
62+
backend:
63+
service:
64+
name: lucsoft-de
65+
port:
66+
number: 80

pages/landing.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,9 @@ Body(
6262
LinkButton("web_bson", "https://github.com/lucsoft/deno_bson/")
6363
.setStyle(ButtonStyle.Inline),
6464
Spacer(),
65-
LinkButton("bbn.one", "https://bbn.one/")
66-
.setStyle(ButtonStyle.Inline),
67-
Spacer(),
6865
LinkButton("remod.dev", "https://remod.dev/")
6966
.setStyle(ButtonStyle.Inline),
67+
Spacer()
7068
).addClass("side-projects"),
7169
Horizontal(
7270
Label("Skills", "h2"),

0 commit comments

Comments
 (0)