Skip to content

Dockerize Book-Store-MERN-Stack with Docker-Compose and Automate Deployment via Shell Script#5

Open
yes20sh wants to merge 3 commits intoMomoTaheri:mainfrom
yes20sh:main
Open

Dockerize Book-Store-MERN-Stack with Docker-Compose and Automate Deployment via Shell Script#5
yes20sh wants to merge 3 commits intoMomoTaheri:mainfrom
yes20sh:main

Conversation

@yes20sh
Copy link
Copy Markdown

@yes20sh yes20sh commented Feb 26, 2025

This pull request adds Docker support for the Book-Store-MERN-Stack application using docker-compose and automates the deployment process with a shell script.

Changes Introduced:

  • Dockerized the Application:

    • Created Dockerfile for frontend, backend, and database services.
    • Defined multi-container setup in docker-compose.yml.
  • Automation with Shell Script:

    • A shell script (deploy.sh) is included to build images, start containers, and manage the deployment process automatically.

How to Test:

  1. Clone the repository and navigate to the project directory.
  2. Run chmod +x deploy.sh && ./deploy.sh to start the deployment.
  3. Access the application at http://localhost:3000 (or specified port).

Additional Notes:

  • Ensures consistent and reproducible deployments.
  • Simplifies local development and testing with Docker.
  • Prepares the project for containerized deployment in cloud environments.

Please review and provide feedback. 🚀

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant