# git clone the repository to one of the multipass manager nodes
# to start the server
docker-compose up -d
# start in docker swarm
docker stack deploy -c compose.yml maxlive
After the compose file complete its run, we can then see our results.
Making a call to the API Gateway and the circuit breaker:
localhost:3020 --> Circuit Breaker
localhost:3020/subscription_service --> Reaching subscription service through API Gateway
curl localhost:3020
curl localhost:3020/subscription service
Because of our RAM restrictions, our compose file is only replicates one of the services.