/monolith

An experiment to build several projects on circle-ci with docker-compose

Primary LanguageJavaScript

monolithic-repository

Circle CI

An experiment to build several projects on circle-ci with docker-compose

Overview


Prerequisites

  • Apps must be located in the root directory.
  • Apps must be registrated docker-compose.yml.
  • Apps folders must start with app (aggregation of service) or service
  • Each apps should expose a test command.
  • Set a DOCKER_IP variable pointing to your docker host

Running

Run docker-compose at the root of the repository

docker-compose up 

Things to do

  • sort dependencies (service first, then apps).
  • circuit breaker integration with consul
  • try a real rpc library supporting bi-directionnal streaming (grpc).
  • load only required images.