/emptyv-server

Primary LanguageJavaMIT LicenseMIT

EmptyVideo MicroServices

how to run

1. pre-install

  • maven, java 8, docker, docker compose

2. maven compile spring boot

run the script below under path /microservice

mvn install

3. docker compose (includes mongodb & admin-mongo & zookeeper & kafka & ev-microservices)

  • If your are using docker toolbox (old docker version) and you want to use localhost instead of the $(your docker-machine ip), you also need to do the port mapping. click the link below to learn
    How to Forward Ports to a Virtual Machine
  • after port mapping(old version only), run the script below under path /microservice to boost containers up
docker-compose up -d --build

Jenkins Pipeline

Under Construction

Some helpful dashboard 4 U

Admin-Mongo, a mongoDB dashboard

  • for WinOS(old version docker only), if you have already forward the port in virtual box, then just enter http://localhost:8082 or check the default machine IP address, open browser enter http://your-docker-machine-ip:8082/.
  • for other os(macos/linux), open browser enter http://localhost:8082/
  • fill in MongoDB Connections form
connName conStr connOpt
(whatever) mongodb://mongo:27017 {}

Eureka Dashboard

  • open browser enter http://localhost:8761/