This project involved creating Docker files to expose a simple Express server and connect it to a MongoDB image. The entire setup was deployed in Azure Kubernetes Service (AKS).
- Docker
- Kubernetes - kubectl
git clone https://github.com/mvrcentes/Dockercompose_n_Kubernetes_first_deployment.git
- Type on the terminal: 'docker build -t <name_of_the_image> --platform Linux/amd64`
- Create a repository in your Dcoker account
docker tag <name_of_the_image>:<tag> <register_directy>/<name_of_the_image>:<tag>
docker push <register_directy>/<name_of_the_image>:<tag>
- Connect your kubernetes cluster to a service
kubectl apply -f mongo-secret.yaml
kubectl apply -f mongoDeployment.yaml
kubectl apply -f configmap.yaml
kubectl apply -f deployment.yaml