Skip to content

Conversation

@RONAK-AI647
Copy link

@RONAK-AI647 RONAK-AI647 commented May 22, 2025

Description: This PR will enhance the project by introducing Docker Compose to simplify service orchestration and deployment. This will allow contributors and users to set up the development environment more easily with a single command. This will reduce the efforts which takes in setting the local environment .After this pr is merged users will be able to access the frontend and backend of dashboard via ports 8080 (frontend) and port 3001 (backend).

Fixes #12
Fixes #90

Changes: Introduces enhancement features

Tasks completed in the PR:

  1. Added .dockerignore file for frontend/backend
  2. Create a docker-compose.yml for local testing
  3. Test the Dockerized dashboard locally and optionally on a kubernetes cluster.
  4. Running docker-compose up should start all required services seamlessly.
  5. The application should be accessible at the appropriate ports.

image
image

I have used minikube to create the kube/config file .The kube/config file generated by minikube contains the credentials and endpoint to access this local Kubernetes cluster .The most straightforward way for something to use InClusterConfig is for it to actually run inside your minikube cluster as a Kubernetes pod.

Steps to follow(the new READme:
1)Make sure Docker is installed and running
2) Install minikube
3) Run the commands below :
1)minikube start
2)docker-compose build

This is open for Linux/Mac users as well as Windows users who can use powershell terminal.

Note: This PR is incomplete until I add a details documentation regarding the updates.

@volcano-sh-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign monokaix
You can assign the PR to them by writing /assign @monokaix in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@RONAK-AI647 RONAK-AI647 force-pushed the RONAK-A1647/Introduce-of-Docker-compose branch from b8347a1 to a7f4b79 Compare May 22, 2025 16:57
@RONAK-AI647
Copy link
Author

RONAK-AI647 commented May 22, 2025

/assign @Monokaix
/assign @Jeffwan

@rooty0
Copy link

rooty0 commented May 27, 2025

any chance we can fix the following

WARN[0000] /Users/joe/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion

@RONAK-AI647
Copy link
Author

any chance we can fix the following

WARN[0000] /Users/joe/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion

I am working on it , i will solve it @rooty0 ,

Signed-off-by: RONAK <codeitronak226277@gmail.com>
Signed-off-by: RONAK <codeitronak226277@gmail.com>
Signed-off-by: RONAK <codeitronak226277@gmail.com>
@RONAK-AI647 RONAK-AI647 force-pushed the RONAK-A1647/Introduce-of-Docker-compose branch from 95ff74d to 3bc32c3 Compare May 28, 2025 17:27
@RONAK-AI647
Copy link
Author

@Monokaix I have made changes , take a look please.
@rooty0 , let me know if the problem persist again.

@RONAK-AI647
Copy link
Author

/assign @lowang-bh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dockerize Volcano Dashboard Introduction of Docker compose

5 participants