Skip to content
This repository was archived by the owner on May 25, 2025. It is now read-only.
This repository was archived by the owner on May 25, 2025. It is now read-only.

Moving to docker swarm #23

@zhengyao-lin

Description

@zhengyao-lin

Since we have containerized broadway API and grader, it would be a natural step to migrate the entire cluster to docker swarm (or other container orchestration system).

This is mostly an issue of configuration. There are a few things to solve in my limited experience with docker swam:

  • broadway grader needs to interact with a docker daemon. dind doesn't work in this case since there are some permission issues (docker swam doesn't allow privileged container).
  • broadway API need a mongodb instance. So we also need to figure out how to expose a mongodb service to the containers in docker swarm.

A few potential benefits in doing this:

  • auto-deployment
  • more fault-tolerancy
  • easier to monitor the status of the entire cluster (?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions