mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-05 05:19:59 +00:00
bookstack
This commit is contained in:
33
bookstack/deployment-bookstack-db.yaml
Normal file
33
bookstack/deployment-bookstack-db.yaml
Normal 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user