SciFiFarms / TechnoCore

TechnoCore: an IoT stack powered by Docker Swarm
GNU General Public License v3.0
20 stars 1 forks source link

Clean up stack definition and installer #21

Closed TheHackmeister closed 6 years ago

TheHackmeister commented 6 years ago

There were a number of small changes to clean up, fix, and improve installing/running a TechnoCore.

Created .env file to try and better support a generic stack that is customized in the .env. I had to add the deploy alias because the command to generate the complete .yaml is gross.

I moved the Home Assistant service to using replicas rather than global to work around an issue I was having restarting the service. It seems to have gotten better after an update, so I may revert this in a future clean up.

Fixed the remove_volume command.

Made the install only wait for the stack to go down (sleep 15) if the stack already exists.