Skip to content

sean-huni/sciroc-docker-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock Paper Scissors (Game)

This is a Spring-Cloud Portfolio of projects that are closely related together to deliver a single gaming platform.

Full-Stack

Architectural Diagram

Cloud Servers/Swarm:

  1. node-1 (178.128.248.16) - Manager
  2. node-2 (178.128.254.229) - Worker
  3. node-3 (178.128.241.236) - Worker
  4. node-4 (178.128.245.141) - Worker

Virtual Machines (Nodes)

Click here to visualise the Live Swarm

Dev-Stack

  • Docker-Stacks
  • Docker-Compose
  • Docker-Swarm
  • Neo4j
  • RabbitMQ
  • Zipkin Server
  • Spring Boot
  • Spring Actuator
  • Spring Boot Admin
  • Spring Cloud (Netflix):
    • Ribbon (Client-Side Load-Balancer)
    • Hystrix
    • Hystrix Dashboard
    • Turbine
    • Config (Server & Client)
    • Zuul (API-Gateway)
    • Feign/OpenFeign
    • Eureka (Server & Service Discovery)
    • Sleuth
    • Zipkin
  • Web:

Microservices API Documentation

URL: 178.128.248.16:<port>

Microservices Ports:

Repository Portfolio (Public):

  1. Config Repo
  2. Config (Server)
  3. Sciroc-Web (MVC)
  4. Eureka
  5. Leader-Data
  6. Leaderboard
  7. Zuul (API-Gateway)
  8. Game
  9. Turbine

Rock-Paper-Scissors Game - Docker Stack

To deploy the docker stack run the following command:

git clone https://github.com/sean-huni/sciroc-docker-stack.git

cd sciroc-docker-stack

./pull-img.sh

docker stack deploy -c docker-compose.yml rps

docker service ls

docker service ps rps_leader-data

docker service logs rps_leaderboard --tail 10 -f

docker service scale rps_game=2

docker stack rm rps

Note: links to the bitbucket repo have been be listed Above