Bioinformatics-Research-Network / Bioinformed-Skill-App

Repository for the Bioinformed Skill Assessment App
https://skill.bioinformed.app
MIT License
4 stars 2 forks source link

Simplify deployment as a monolithic app #44

Open millerh1 opened 2 years ago

millerh1 commented 2 years ago

Currently we deploy 3 services separately (ghbot, crud, and webui). However this is expensive and unnecessary for the stage we are at today with this app. Instead, we should develop a push-button deploy workflow for all three services to the same elastic beanstalk instance. This could use docker compose in order to orchestrate them within each EC2.

The structure could be like this:

EB-Docker-Image:
  docker-compose:
    crud:
      image: crud-image on ECR
    ghbot:
      image: ghbot-image on ECR
    webui:
      image: webui-image on ECR