37 lines
762 B
YAML
37 lines
762 B
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: trilium
|
|
name: trilium
|
|
namespace: trilium
|
|
spec:
|
|
# strategy:
|
|
# type: Recreate
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: trilium
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: trilium
|
|
spec:
|
|
containers:
|
|
- image: bv11-cr01.bessems.eu/proxy/zadam/trilium:0.56-latest
|
|
name: trilium
|
|
env:
|
|
- name: TRILIUM_PORT
|
|
value: '8080'
|
|
ports:
|
|
- containerPort: 8080
|
|
name: web
|
|
volumeMounts:
|
|
- mountPath: /home/node/trilium-data
|
|
name: flexvolsmb-trilium-data
|
|
volumes:
|
|
- name: flexvolsmb-trilium-data
|
|
persistentVolumeClaim:
|
|
claimName: flexvolsmb-trilium-data
|