/java-ms-template

This is java micro-service template

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

java-ms-template

This is java micro-service template. This template allows to build and deploy docker image simply. This template is very basic having integration of spring boot > 2.

Basic knowledge of the Gradle and Docker is require.

Building and Generating docker image

We uses the Avast plugins that allows to configure and manager docker images.

All configurations are present into the configs/docker.gradle

Build

Below command will generate the distribution zip under build/distributions/{app_name}.zip directory

Build the Application
$ ./gradlew build
Build the docker image
$ ./gradlew composeBuild
Running Docker image
$ ./gradlew composeUp

Communication