Skip to content

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

@mina-atef-00

Description

@mina-atef-00

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions