prodbyola / basable

Basable is an open-source software designed to provide secure data management, comprehensive data visualization, and business insights.
https://basable.vercel.app/
12 stars 15 forks source link

Dockerization #39

Open prodbyola opened 1 month ago

prodbyola commented 1 month ago

We need to "dockerize" Basable for easy setup in development and production environments. In this issue, you would write a Docker Compose configuration for 3 services which includes:

  1. core (Rust)
  2. web (React/Vite)
  3. MySQL database (for testing)

The core and web services are located in their respective folders in the project repository — a straightforward Rust or Nodejs base would be sufficient for each respectively.

For MySQL however, our configuration needs to take a step further after creating the test database instance and assigning a dedicated user. The following environment variables should be configurable from docker-compose.yml:

(please check attached screenshot for example)

Finally, the MySQL build process should load or import sample databases from the folder db-samples/sql and should be accessible for MYSQL_USER.

For questions, clarity and feedback, please drop a comment or send us a message on Discord: https://discord.gg/XWuPKKS5gr

Screenshot_20241019-093940_2

Olamidipupo-favour commented 1 month ago

I'd work on this.

prodbyola commented 1 month ago

I'd work on this.

Looking forward to your PR!♥️♥️♥️♥️

prodbyola commented 4 weeks ago

@Olamidipupo-favour Are you still working on this or should we assign someone else?

Olamidipupo-favour commented 4 weeks ago

I'd start working on it hopefully today. My PC stopped working 2 days ago , but it should be fixed today.

prodbyola commented 4 weeks ago

I'd start working on it hopefully today. My PC stopped working 2 days ago , but it should be fixed today.

Sorry to hear about your PC. Hope you're able to get it fixed. Please let us know if you're able to get started today. We may have to assign someone else otherwise. If you need any help, please join us on discord https://discord.gg/XWuPKKS5gr