mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
---
|
|
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: nitro-backend
|
|
namespace: human-connection
|
|
spec:
|
|
replicas: 1
|
|
minReadySeconds: 15
|
|
progressDeadlineSeconds: 60
|
|
strategy:
|
|
rollingUpdate:
|
|
maxSurge: 0
|
|
maxUnavailable: "100%"
|
|
selector:
|
|
matchLabels:
|
|
human-connection.org/selector: deployment-human-connection-backend
|
|
template:
|
|
metadata:
|
|
annotations:
|
|
backup.velero.io/backup-volumes: uploads
|
|
labels:
|
|
human-connection.org/commit: COMMIT
|
|
human-connection.org/selector: deployment-human-connection-backend
|
|
name: "nitro-backend"
|
|
spec:
|
|
containers:
|
|
- name: nitro-backend
|
|
image: humanconnection/nitro-backend:latest
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 4000
|
|
envFrom:
|
|
- configMapRef:
|
|
name: configmap
|
|
- secretRef:
|
|
name: human-connection
|
|
volumeMounts:
|
|
- mountPath: /nitro-backend/public/uploads
|
|
name: uploads
|
|
volumes:
|
|
- name: uploads
|
|
persistentVolumeClaim:
|
|
claimName: uploads-claim
|
|
restartPolicy: Always
|
|
terminationGracePeriodSeconds: 30
|
|
status: {}
|