├── .dockerignore ├── .gitignore ├── LICENSE ├── README.md ├── aggregator-service ├── build.sbt ├── docker-resources │ ├── docker-entrypoint.sh │ └── scripts │ │ └── wait-for-it.sh ├── project │ ├── build.properties │ └── plugins.sbt └── src │ └── main │ ├── resources │ ├── application.conf │ └── logback.xml │ └── scala │ └── com │ └── markglh │ └── blog │ ├── AggregatorService.scala │ └── Bootstrap.scala ├── base-containers.yml ├── beacon-service ├── build.sbt ├── docker-resources │ ├── docker-entrypoint.sh │ └── scripts │ │ └── wait-for-it.sh ├── project │ ├── build.properties │ └── plugins.sbt └── src │ └── main │ ├── resources │ ├── application.conf │ └── logback.xml │ └── scala │ └── com │ └── markglh │ └── blog │ ├── BeaconRepo.scala │ ├── BeaconService.scala │ ├── Bootstrap.scala │ └── Cassandra.scala ├── compose-resources ├── cassandra │ ├── cassandra-init.sh │ ├── cassandra_keyspace_init.cql │ └── wait-for-it.sh └── nginx │ └── nginx.conf ├── composing-microservices-arch.png ├── composing-microservices-seq.png ├── docker-compose.yml └── tracking-service ├── build.sbt ├── docker-resources ├── docker-entrypoint.sh └── scripts │ └── wait-for-it.sh ├── project ├── build.properties └── plugins.sbt └── src └── main ├── resources ├── application.conf └── logback.xml └── scala └── com └── markglh └── blog ├── Bootstrap.scala ├── Cassandra.scala ├── TrackingRepo.scala └── TrackingService.scala /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/.dockerignore -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/README.md -------------------------------------------------------------------------------- /aggregator-service/build.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/aggregator-service/build.sbt -------------------------------------------------------------------------------- /aggregator-service/docker-resources/docker-entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/aggregator-service/docker-resources/docker-entrypoint.sh -------------------------------------------------------------------------------- /aggregator-service/docker-resources/scripts/wait-for-it.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/aggregator-service/docker-resources/scripts/wait-for-it.sh -------------------------------------------------------------------------------- /aggregator-service/project/build.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/aggregator-service/project/build.properties -------------------------------------------------------------------------------- /aggregator-service/project/plugins.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/aggregator-service/project/plugins.sbt -------------------------------------------------------------------------------- /aggregator-service/src/main/resources/application.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/aggregator-service/src/main/resources/application.conf -------------------------------------------------------------------------------- /aggregator-service/src/main/resources/logback.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/aggregator-service/src/main/resources/logback.xml -------------------------------------------------------------------------------- /aggregator-service/src/main/scala/com/markglh/blog/AggregatorService.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/aggregator-service/src/main/scala/com/markglh/blog/AggregatorService.scala -------------------------------------------------------------------------------- /aggregator-service/src/main/scala/com/markglh/blog/Bootstrap.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/aggregator-service/src/main/scala/com/markglh/blog/Bootstrap.scala -------------------------------------------------------------------------------- /base-containers.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/base-containers.yml -------------------------------------------------------------------------------- /beacon-service/build.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/beacon-service/build.sbt -------------------------------------------------------------------------------- /beacon-service/docker-resources/docker-entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/beacon-service/docker-resources/docker-entrypoint.sh -------------------------------------------------------------------------------- /beacon-service/docker-resources/scripts/wait-for-it.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/beacon-service/docker-resources/scripts/wait-for-it.sh -------------------------------------------------------------------------------- /beacon-service/project/build.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/beacon-service/project/build.properties -------------------------------------------------------------------------------- /beacon-service/project/plugins.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/beacon-service/project/plugins.sbt -------------------------------------------------------------------------------- /beacon-service/src/main/resources/application.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/beacon-service/src/main/resources/application.conf -------------------------------------------------------------------------------- /beacon-service/src/main/resources/logback.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/beacon-service/src/main/resources/logback.xml -------------------------------------------------------------------------------- /beacon-service/src/main/scala/com/markglh/blog/BeaconRepo.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/beacon-service/src/main/scala/com/markglh/blog/BeaconRepo.scala -------------------------------------------------------------------------------- /beacon-service/src/main/scala/com/markglh/blog/BeaconService.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/beacon-service/src/main/scala/com/markglh/blog/BeaconService.scala -------------------------------------------------------------------------------- /beacon-service/src/main/scala/com/markglh/blog/Bootstrap.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/beacon-service/src/main/scala/com/markglh/blog/Bootstrap.scala -------------------------------------------------------------------------------- /beacon-service/src/main/scala/com/markglh/blog/Cassandra.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/beacon-service/src/main/scala/com/markglh/blog/Cassandra.scala -------------------------------------------------------------------------------- /compose-resources/cassandra/cassandra-init.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/compose-resources/cassandra/cassandra-init.sh -------------------------------------------------------------------------------- /compose-resources/cassandra/cassandra_keyspace_init.cql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/compose-resources/cassandra/cassandra_keyspace_init.cql -------------------------------------------------------------------------------- /compose-resources/cassandra/wait-for-it.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/compose-resources/cassandra/wait-for-it.sh -------------------------------------------------------------------------------- /compose-resources/nginx/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/compose-resources/nginx/nginx.conf -------------------------------------------------------------------------------- /composing-microservices-arch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/composing-microservices-arch.png -------------------------------------------------------------------------------- /composing-microservices-seq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/composing-microservices-seq.png -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /tracking-service/build.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/tracking-service/build.sbt -------------------------------------------------------------------------------- /tracking-service/docker-resources/docker-entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/tracking-service/docker-resources/docker-entrypoint.sh -------------------------------------------------------------------------------- /tracking-service/docker-resources/scripts/wait-for-it.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/tracking-service/docker-resources/scripts/wait-for-it.sh -------------------------------------------------------------------------------- /tracking-service/project/build.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/tracking-service/project/build.properties -------------------------------------------------------------------------------- /tracking-service/project/plugins.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/tracking-service/project/plugins.sbt -------------------------------------------------------------------------------- /tracking-service/src/main/resources/application.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/tracking-service/src/main/resources/application.conf -------------------------------------------------------------------------------- /tracking-service/src/main/resources/logback.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/tracking-service/src/main/resources/logback.xml -------------------------------------------------------------------------------- /tracking-service/src/main/scala/com/markglh/blog/Bootstrap.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/tracking-service/src/main/scala/com/markglh/blog/Bootstrap.scala -------------------------------------------------------------------------------- /tracking-service/src/main/scala/com/markglh/blog/Cassandra.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/tracking-service/src/main/scala/com/markglh/blog/Cassandra.scala -------------------------------------------------------------------------------- /tracking-service/src/main/scala/com/markglh/blog/TrackingRepo.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/tracking-service/src/main/scala/com/markglh/blog/TrackingRepo.scala -------------------------------------------------------------------------------- /tracking-service/src/main/scala/com/markglh/blog/TrackingService.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markglh/composing-microservices-with-sbt-docker/HEAD/tracking-service/src/main/scala/com/markglh/blog/TrackingService.scala --------------------------------------------------------------------------------