Public Repository

Last pushed: 9 months ago
Short Description
Msl-server provides java microservices as well as angular FE for the million-song-library project
Full Description

Run the msl-server image as:

docker run -dt -p 3000-3004:3000-3004 -p 9000:9000-9000 -p 8080:8080 --name msl-server --net=host --entrypoint=/bin/bash kenzandocker/msl-server

Start up tomcat and eureka server
docker exec -d msl-node-server sudo service tomcat7 restart

Eureka server is deployed at $(docker-machine ip dev):8080/eureka

Start up zuul gateway
docker exec -d msl-node-server bash -c "cd ../server/msl-zuul && mvn jetty:run >> zuul_log"

Start edge services:
docker exec -d msl-server bash -c "npm run serve-all >> serve_all_log"

Start FE and docs
docker exec -it msl-server bash -c "npm rebuild node-sass && npm run deploy-dev-zuul"

NOTE open your browser to your docker-machine ip or on Linux localhost

Docker Pull Command
Owner
kenzandocker

Comments (0)