Skip to content
Closed
pan261 opened this issue Nov 16, 2021 · 2 comments
Closed

Docker #7

pan261 opened this issue Nov 16, 2021 · 2 comments

Comments

@pan261
Copy link
Contributor

pan261 commented Nov 16, 2021

As I see it now, we can have the following services/containers when using docker:

  1. auth server
  2. waterjet watcher
  3. lathe watcher
  4. gantry watcher
  5. mill watcher
  6. db

Splitting it up like this may solve some of the concurrency issues with node, such that we don't have to implement a multi-process application within node, we'll just let docker take care of the work.

As for tasks: we will have to configure the docker-compose file and other environment variables

@pan261
Copy link
Contributor Author

pan261 commented Nov 18, 2021

Each watcher will be managed by a task runner, and we will use the same process but feed different folder IDs through command line arguments when creating the docker containers

@pan261
Copy link
Contributor Author

pan261 commented Nov 18, 2021

The auth server will only have to pass credentials to other containers, which can be done through http requests, as for the db, we may need to set up a shared volume

Sign in to join this conversation on GitHub.
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant