Skip to content

Instantly share code, notes, and snippets.

@877dev
Created September 27, 2020 19:49
Show Gist options
  • Save 877dev/5bc09df6a4c73b78562b4bc54c50b19e to your computer and use it in GitHub Desktop.
Save 877dev/5bc09df6a4c73b78562b4bc54c50b19e to your computer and use it in GitHub Desktop.
IOTstack information

How IOTstack works

All supported containers have templates stored in the hidden directory ~/IOTstack/.templates

Each template folder may contain:

  • service.yml file
  • Dockerfile if needed (instructions on how to build the container image)
  • Other files as needed for that particular container

When the menu is run with ./menu.sh and containers are selected, the contents of the relevant service.yml file are copied to ~/IOTstack/docker-compose.yml

When the stack is started, the contents of docker-compose.yml are used.

If a container image needs to be built, and there is a related Dockerfile, that Dockerfile is used to create the image with the included specific instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment