MintbeanHackathons/MintbeanPlatform

[BLOCKER] Dockerization

Opened this issue · 5 comments

This needs to happen now rather than later, so this is a priority-1 task. I'll take this one myself, since I've done this kind of stuff before.

Rationale behind Dockerization:

  1. It will make it easier for newcomers to start contributing to the project.
  2. It will make maintenance easier.
  3. It will make CI/CD easier.
  4. It will make it MUCH easier to integrate with Keycloak.
  5. It will make it possible to turn this into a truly polyglot project over time.
  6. Now is the right time to do it, while the project is small and manageable.

Requirements:

  1. It should be possible to develop the frontend locally while depending on the staging backend server + staging keycloak server.
  2. It should be possible to develop on all components locally.

Blocks: #5

Investigating

Looking at it

Hey @monarchwadia, just wanted to get a bit more clarification on this. I'm also just pretty new with Docker so yeah.

It should be possible to develop the frontend locally while depending on the staging backend server + staging keycloak server.

Does this indicate that the container is only gonna be for the frontend? Or there's one docker container that contains both the backend and the frontend?

It should be possible to develop on all components locally.

Does Component mean frontend/backend?

@derekjj @leanjunio can you guys actually take other tickets on?

i fear this one is a lot more complicated conceptually, and it'll take me longer to communicate the solution than it will for me to actually code it myself.

Thanks for your help -- I'll take this one on :-)

@leanjunio maybe you can try this ticket out?
#19

Sure thing