Dockerization of Spring Boot application
Dockerization of spring Boot The post explains you how to conatainerize the previously created Resource server and the Auth Server using Docker. The post assumes that the following pre-requisites are completed: Docker is setup on your machine https://docs.docker.com/get-started/ You have an account setup with docker hub.( This enables us to store our docker images in docker hub) You have created a public repository in docker hub. Docker file creation The first step is to create a docker file for all the microservice applications: Employee Microservice - Docker File FROM openjdk:8-jdk-alpine MAINTAINER PRASHANT LABEL description="Employee Microservice" ADD ./target/employee-0.0.1-SNAPSHOT.jar /app/service.jar EXPOSE 7003 CMD ["java", "-Xmx1024m", "-jar", "/app/service.jar"] Similarly create for the other microservic...