first upload
This commit is contained in:
29
apps/dokuwiki/deployment.yaml
Normal file
29
apps/dokuwiki/deployment.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: dokuwiki
|
||||
namespace: default
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: dokuwiki
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: dokuwiki
|
||||
spec:
|
||||
containers:
|
||||
- name: dokuwiki
|
||||
image: lscr.io/linuxserver/dokuwiki
|
||||
ports:
|
||||
- containerPort: 80
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- mountPath: /config
|
||||
name: dokuwikidata
|
||||
volumes:
|
||||
- name: dokuwikidata
|
||||
persistentVolumeClaim:
|
||||
claimName: dokuwiki-pvc
|
||||
restartPolicy: Always
|
Reference in New Issue
Block a user