Skip to content

kunalshukla11/CustomerSerivce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

use docker host for running endpoints like 192.168.99.100 windows mac (localhost) use docker run to run mongoDb instance windows --> docker run -p 27107:27017 --name <any_name> : mac --> docker run -p 27107:27017 --name mongoDb : and then run the service windows --> docker run -d -p 8080:8080 --name customerapp customerimage mac- > docker run -d -p 8080:8080 --link mongoDb --name customerapp customerimage

With docker compose docker-compose up -d --run all services in detached mode docker compose ps --see what services run by docker compose docker-compose logs -f -t view logs for all services (f==follow , t=timestamp) docker-compose logs -f -t OR docker logs -f -t <containerId/containerName> //TODO Add security to the endpoints Try with Kubernets

About

SpringMongoDockerExample

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages