35 lines
777 B
YAML
35 lines
777 B
YAML
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
|
|
|