webrtc-in-jetpack-compose icon indicating copy to clipboard operation
webrtc-in-jetpack-compose copied to clipboard

Add Docker Support with Dockerfile and Docker Compose

Open resilientbd opened this issue 1 year ago • 0 comments

Hi,

I’ve added Docker support to the project to simplify setup and deployment. This includes:

Dockerfile: Defines the build and runtime environment. docker-compose.yml: Facilitates easy management and deployment, mapping external port 8080 (developer can change this to avoid port conflicts) to internal port 8080. Changes Made:

Created a Dockerfile for building the application image. Added a docker-compose.yml file for managing the container. Updated build configuration to produce a runnable JAR file. Screenshots:

Docker Console Output - 1 Docker Console Output - 2 Run Instructions:

Clone the project and navigate to the webrtc-backend directory. Run docker-compose up -d --build to build and start the container. Note: Docker and Docker Compose must be installed. This setup has been tested on Windows, Linux, and Mac Intel.

These changes will help standardize the development environment and streamline deployment. Please review and let me know if any adjustments are needed.

Thank you!

Best regards, Sk. Faisal

resilientbd avatar Sep 05 '24 08:09 resilientbd