xmidt-org / xmidt

Highly scalable pipes for communicating with devices all over the place.
Apache License 2.0
18 stars 18 forks source link

Simplify docker-compose process #12

Closed joe94 closed 4 years ago

joe94 commented 5 years ago

Currently, the deploy package in this repo contains a detailed readme with the instructions on how to bring up a docker-compose cluster for XMiDT. While there may not be functional problems with it, we'd like to change the following:

1) Instead of requesting the user to build service images (Talaria, Scytale, Petasos, Caduceus, Tr1d1um) locally, simply pull existing images from our new docker hub repo: https://hub.docker.com/u/xmidt

2) For the components where we need to build an image locally, clone repos inside the /tmp folder to keeps things tidy.

Important notes: Remember to leverage the fact that both image pulling at step 1 and docker-compose leverage the {service}_VERSION environment variable (i.e. TALARIA_VERSION=0.1.3) to know which service image tag to use. Make this obvious in the way you setup your scripts such that when I want to upgrade the version of any service, it'll be dead simple to do it.

uLan08 commented 5 years ago

I'd like to work on this.

joe94 commented 5 years ago

@uLan08 Thanks for showing interest in helping out! Don't hesitate to show progress and ask clarifying questions!

kcajmagic commented 4 years ago

Closed in #15