Files
trunk-server/backend-deployment.yaml
Luke Berndt b4f6cd70d9 lots of yaml
2024-06-29 22:15:50 -04:00

42 lines
944 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.34.0 (cbf2835db)
labels:
io.kompose.service: backend
name: backend
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: backend
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.34.0 (cbf2835db)
labels:
io.kompose.service: backend
spec:
containers:
- env:
- name: MONGO_NODE_DRIVER_HOST
value: mongo
image: backend:-
name: backend
ports:
- containerPort: 3005
protocol: TCP
volumeMounts:
- mountPath: /home/app/.aws
name: backend-cm0
restartPolicy: Always
volumes:
- configMap:
name: backend-cm0
name: backend-cm0