54 lines
1.3 KiB
YAML
54 lines
1.3 KiB
YAML
|
|
apiVersion: extensions/v1beta1
|
||
|
|
kind: Deployment
|
||
|
|
metadata:
|
||
|
|
annotations:
|
||
|
|
kompose.cmd: kompose convert
|
||
|
|
kompose.version: 1.16.0 (0c01309)
|
||
|
|
creationTimestamp: null
|
||
|
|
labels:
|
||
|
|
io.kompose.service: pigallery2
|
||
|
|
name: pigallery2
|
||
|
|
spec:
|
||
|
|
replicas: 1
|
||
|
|
strategy:
|
||
|
|
type: Recreate
|
||
|
|
template:
|
||
|
|
metadata:
|
||
|
|
creationTimestamp: null
|
||
|
|
labels:
|
||
|
|
io.kompose.service: pigallery2
|
||
|
|
spec:
|
||
|
|
containers:
|
||
|
|
- env:
|
||
|
|
- name: NODE_ENV
|
||
|
|
value: production
|
||
|
|
image: bpatrik/pigallery2:latest
|
||
|
|
name: pigallery2
|
||
|
|
ports:
|
||
|
|
- containerPort: 80
|
||
|
|
resources: {}
|
||
|
|
volumeMounts:
|
||
|
|
- mountPath: /app/data/config
|
||
|
|
name: pigallery2-claim0
|
||
|
|
- mountPath: /app/data/db
|
||
|
|
name: db-data
|
||
|
|
- mountPath: /app/data/images
|
||
|
|
name: pigallery2-claim2
|
||
|
|
- mountPath: /app/data/tmp
|
||
|
|
name: pigallery2-claim3
|
||
|
|
restartPolicy: Always
|
||
|
|
volumes:
|
||
|
|
- name: pigallery2-claim0
|
||
|
|
persistentVolumeClaim:
|
||
|
|
claimName: pigallery2-claim0
|
||
|
|
- name: db-data
|
||
|
|
persistentVolumeClaim:
|
||
|
|
claimName: db-data
|
||
|
|
- name: pigallery2-claim2
|
||
|
|
persistentVolumeClaim:
|
||
|
|
claimName: pigallery2-claim2
|
||
|
|
- name: pigallery2-claim3
|
||
|
|
persistentVolumeClaim:
|
||
|
|
claimName: pigallery2-claim3
|
||
|
|
status: {}
|