MintbeanHackathons / MintbeanPlatform

This is what powers https://mintbean.io
GNU Affero General Public License v3.0
24 stars 15 forks source link

[BLOCKER] Dockerization #6

Open monarchwadia opened 4 years ago

monarchwadia commented 4 years ago

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

derekjj commented 4 years ago

Investigating

leanjunio commented 4 years ago

Looking at it

leanjunio commented 4 years ago

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?

monarchwadia commented 4 years ago

@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? https://github.com/MintbeanHackathons/MintbeanPlatform/issues/19

leanjunio commented 4 years ago

Sure thing