Skip to content

sayinmehmet47/nest-bullmq

Repository files navigation

NestJS BullMQ Project

This project demonstrates how to use BullMQ with Nest.js and deploy it to a Kubernetes cluster using Helm.

Prerequisites

  • Docker
  • Node.js
  • Nest.js
  • Helm
  • Kubernetes cluster

Getting Started

  1. Clone this repository:
git clone https://github.com/<username>/<repository>.git
  1. Install the dependencies:
cd <repository>
npm install
  1. Build the Docker image:
docker build -t <docker-username>/<docker-image>:<tag> .```
  1. Push the Docker image to Docker Hub:
docker push <docker-username>/<docker-image>:<tag>
  1. Create a Kubernetes secret for your Docker registry:

    kubectl create secret docker-registry regcred --docker-server=https://index.docker.io/v1/ --docker-username=<docker-username> --docker-password=<docker-password> --docker-email=<docker-email>
  2. Create a Helm chart:

    helm create <chart-name>
  3. Update the Helm chart with your application's configuration:

     helm install <release-name> <chart-name> --set image.repository=<docker-username>/<docker-image>,image.tag=<tag>,image.pullPolicy=Always,imagePullSecrets[0].name=regcred

    Replace , , , , , and with your own values.

  4. Verify that your application is running in your Kubernetes cluster:

    kubectl get pods

    Replace and with the IP address and NodePort of your Kubernetes service.

Conclusion This project demonstrates how to use BullMQ with Nest.js and deploy it to a Kubernetes cluster using Helm. By following the steps in this README.md file, you should be able to build, push, and deploy your own Nest.js application with BullMQ to a Kubernetes cluster using Helm.


Please replace <username>, <repository>, <docker-username>, <docker-image>, <tag>, <secret-name>, <docker-server>, <docker-username>, <docker-password>, <docker-email>, <chart-name>, <release-name>, <kubernetes-cluster-ip>, and <node-port> with your own values.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published