Skip to content

Abisheck007/DockerDeploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Spring Boot + MySQL Full Stack App (Dockerized)

This project is a full-stack web application built using Spring Boot for the backend and HTML/CSS/JavaScript for the frontend. The application is fully containerized using Docker, with a MySQL database running in a separate container.

🧰 Tech Stack

  • Spring Boot
  • MySQL
  • HTML, CSS, JavaScript
  • Docker & Docker Compose
  • Maven

📦 Project Structure

springdb-app/ ├── backend/ # Spring Boot app │ ├── src/ │ ├── pom.xml │ └── Dockerfile ├── frontend/ # HTML/CSS/JS │ ├── index.html │ └── ... ├── docker-compose.yml # Docker Compose file └── README.md

⚙️ How to Run

🐳 Step 1: Clone the Repo

git clone https://github.com/your-username/springdb-app.git
cd springdb-app

neccessary command Builds the Spring Boot backend

Starts MySQL in a container

Maps necessary ports (default: 8080 for backend, 3306 for MySQL)

docker command

Stop containers: docker-compose down

View logs: docker-compose logs -f

Rebuild: docker-compose up --build

About

Deploying my spring app in docker using docker and docker compose

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors