Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add multi-container Docker setup for imagegonord API and frontend #170

Open
mina-atef-00 opened this issue Jul 29, 2024 · 3 comments
Open

Comments

@mina-atef-00
Copy link

Describe the feature
Add a multi-container Docker setup for the API and Vue frontend

Motivation
Currently, the imagegonord project consists of a Python API and a Vue frontend, which aren't containerized yet. By containerizing the API and frontend separately using Docker, we can make it easier to manage each component independently & ease the development process.

Proposed solution
Adding a multi-container Docker setup for the imagegonord project. Here's a high-level overview of the proposed setup:

image

  • The Python API would be containerized using a Dockerfile that extends a Python image. It would include all necessary dependencies and environment variables.
  • The Vue frontend would be containerized using a Dockerfile that extends the alpine Node.js image. It would include all necessary dependencies and environment variables, as well as the compiled frontend code.
  • The two containers would communicate with each other using Docker's built-in networking.

This setup would allow us to easily spin up both the API and frontend containers with a single command, and would make it easier to deploy and develop the project in the future.

@mina-atef-00
Copy link
Author

I would like to work on it and submit a PR if you agree on adding this feature

@TheJoin95
Copy link
Member

Sure, go for it

@TheJoin95
Copy link
Member

Any news on this ? Otherwise I'm going to close it

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants