Skip to content

Spring-Boot starter project implementing microservice architecture using Spring-Data (MongoDB) along with Docker for Containerization and CI

Notifications You must be signed in to change notification settings

darkdefender27/Learner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementation of Microservice architecture

Docker Image

Download the docker image from here: darkdefender27/learner-service

Empezar

Clone the remote repository into a local directory.

$ git clone https://github.com/darkdefender27/Learner Learner
$ cd Learner/

Prerequisites

Execution (using docker-compose)

$ docker-compose up

Execution

Build a docker image for the application

$ pwd
~/.../Learner

$ docker build -t microservice/learner-service .
Successfully built 499361c96a65

Running the application container

$ docker images

REPOSITORY                         TAG                 IMAGE ID            CREATED             SIZE
microservice/learner-service   latest              499361c96a65        6 minutes ago       678.5 MB

$ docker run -P -d --name learner-service --link mongodb microservice/learner-service
$ docker ps

CONTAINER ID        IMAGE                              COMMAND                  CREATED             STATUS              PORTS                      NAMES
71519d8ab576        microservice/learner-service   "java -Dspring.data.m"   4 seconds ago       Up 3 seconds        0.0.0.0:32769->8080/tcp    learner-service

Like It?

You can say thanks!

Contribution

  • Never edit the master branch.
  • Make a branch specific to the feature you wish to contribute on.
  • Send me a pull request.

License

GNU GPL Version 3, 29 June 2007. Please refer this link [GNU GPL 3.0 License] (http://www.gnu.org/licenses/gpl-3.0.txt) for detailed description.

Free Software, Hell Yeah! 👊

About

Spring-Boot starter project implementing microservice architecture using Spring-Data (MongoDB) along with Docker for Containerization and CI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages