Documentation for this can be found on the Auth as a microservice
1.Ensure Docker is running successfully on machine using the following command
docker --version
&
2.Run the app using docker compose
docker-compose build && docker-compose up -d
&
3.Run the app using docker stack
docker stack deploy -c docker-stack.yml authservice
&
docker stack ls
&
4.Run the app using kubernetes
Copy the current src content into the src folder in the kubernetes-deployment directory
&
kubectl apply -f authentication-configmap.yml
&
kubectl apply -f authentication-pod.yml
&
kubectl apply -f authentication-service.yml
&