bookstack

This commit is contained in:
Michael Thomson
2023-12-28 15:51:39 -05:00
parent e737339d09
commit 9e1243e040
15 changed files with 162 additions and 49 deletions

View File

@@ -0,0 +1,33 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: bookstack-db
namespace: bookstack
spec:
selector:
matchLabels:
app: bookstack-db
template:
metadata:
labels:
app: bookstack-db
spec:
containers:
- name: bookstack-db
image: lscr.io/linuxserver/mariadb
envFrom:
- configMapRef:
name: bookstack-db-config
- secretRef:
name: bookstack-db-secret
ports:
- containerPort: 3306
volumeMounts:
- mountPath: /config
name: config
volumes:
- name: config
persistentVolumeClaim:
claimName: bookstack-db-config