homelab-gitops/focalboard/deployment.yaml
gwg313 a958b153c4
add focalboard
Signed-off-by: gwg313 <gwg313@pm.me>
2026-01-05 15:42:08 -05:00

37 lines
863 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: focalboard
namespace: focalboard
spec:
replicas: 1
selector:
matchLabels:
app: focalboard
template:
metadata:
labels:
app: focalboard
spec:
enableServiceLinks: false
containers:
- name: focalboard
image: mattermost/focalboard:latest
ports:
- containerPort: 8000
volumeMounts:
- name: data
mountPath: /data
- name: config
mountPath: /opt/focalboard/config.json
subPath: config.json
env:
- name: FB_PORT
value: "8000"
volumes:
- name: data
persistentVolumeClaim:
claimName: focalboard-data
- name: config
configMap:
name: focalboard-config