apiVersion: apps/v1
kind: Deployment
metadata:
  name: final-project-database
spec:
  replicas: 2
  selector:
    matchLabels:
      app: mongo-db
  template:
    metadata:
      labels:
        app: mongo-db
    spec:
      containers:
        - name: app-database
          image: awsels/backend
          ports:
          - containerPort: 27017
