Add BookStack documentation app

This commit is contained in:
2026-06-18 14:26:19 +00:00
parent dc43663b8a
commit 7b236d8ba5
6 changed files with 180 additions and 0 deletions
+54
View File
@@ -0,0 +1,54 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: bookstack-db
namespace: bookstack
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: bookstack-db
namespace: bookstack
spec:
replicas: 1
selector:
matchLabels:
app: bookstack-db
template:
metadata:
labels:
app: bookstack-db
spec:
containers:
- name: mariadb
image: mariadb:11
envFrom:
- secretRef:
name: bookstack-secret
ports:
- containerPort: 3306
volumeMounts:
- name: db-data
mountPath: /var/lib/mysql
volumes:
- name: db-data
persistentVolumeClaim:
claimName: bookstack-db
---
apiVersion: v1
kind: Service
metadata:
name: bookstack-db
namespace: bookstack
spec:
selector:
app: bookstack-db
ports:
- port: 3306
targetPort: 3306