31 lines
		
	
	
		
			587 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			587 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
apiVersion: apps/v1
 | 
						|
kind: Deployment
 | 
						|
metadata:
 | 
						|
  name: gotify
 | 
						|
  namespace: gotify
 | 
						|
  labels:
 | 
						|
    app: gotify
 | 
						|
spec:
 | 
						|
  replicas: 1
 | 
						|
  selector:
 | 
						|
    matchLabels:
 | 
						|
      app: gotify
 | 
						|
  template:
 | 
						|
    metadata:
 | 
						|
      labels:
 | 
						|
        app: gotify
 | 
						|
    spec:
 | 
						|
      containers:
 | 
						|
      - name: gotify
 | 
						|
        image: gotify/server
 | 
						|
        ports:
 | 
						|
          - name: web
 | 
						|
            containerPort: 80
 | 
						|
        volumeMounts:
 | 
						|
        - mountPath: /app/data
 | 
						|
          name: csismb-gotify-data
 | 
						|
      volumes:
 | 
						|
      - name: csismb-gotify-data
 | 
						|
        persistentVolumeClaim:
 | 
						|
          claimName: csismb-gotify-data
 |