waggle-sensor / beehive-server

Waggle cloud software for aggregation, storage and analysis of sensor data from Waggle nodes.
14 stars 17 forks source link

Simplify container runtime management #52

Closed seanshahkarami closed 7 years ago

seanshahkarami commented 7 years ago

Docker supports managing and restarting containers on its own. I'd like to propose simplifying the deployment process by just letting docker manage all that instead of the mix of docker and systemd we have now.

This should be a relatively easy fix and could pay off a lot in terms of organization and easy of deployment.

seanshahkarami commented 7 years ago

The short term goal here is to bring all container configuration into a common place. Ideally, we should be able to understand everything about the way a container is deployed by looking within a single file or directory.

For now, we can maintain the Makefile approach where each container has a Makefile which can build and deploy it. Looking ahead, by organizing this better now, transitioning to something like a docker stack will be much cleaner once we're ready.

seanshahkarami commented 7 years ago

All core containers have been transitioned to be managed by Docker instead of both Docker and systemd.