This commit is contained in:
2025-12-08 00:55:49 +01:00
parent 2cfd5ac2ce
commit de50b5178b
2 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: linkding
labels:
app.kubernetes.io/name: linkding
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: linkding
template:
metadata:
labels:
app.kubernetes.io/name: linkding
spec:
volumes:
- name: config
nfs:
server: 192.168.0.99
path: /mnt/test1/media/config/linkding
containers:
- name: linkding
image: sissbruecker/linkding:latest
env:
- name: LD_CSRF_TRUSTED_ORIGINS
value: "https://linkding.beppe.online"
ports:
- containerPort: 9090
volumeMounts:
- name: config
mountPath: /etc/linkding/data

View File

@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: svc-linkding
spec:
selector:
app.kubernetes.io/name: linkding
ports:
- name: webui
protocol: TCP
port: 80
targetPort: 9090