Skip to content

ThejMal01/docker-beginner-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

docker-beginner-guide

πŸ“¦ Repository Description

A step-by-step guide to containerizing a Spring Boot application with Docker and connecting it to MySQL. Includes examples for both single-project setups and Maven multi-module projects, along with ready-to-use Dockerfile and docker-compose.yml templates.

✨ Features

  • 🐳 Dockerfile template for Spring Boot apps
  • πŸ—„οΈ MySQL integration with environment variables
  • ⚑ Multi-stage build (lightweight runtime images)
  • πŸ› οΈ docker-compose.yml for multi-container setup
  • πŸ”‘ Secure config via .env file
  • πŸ“š Works with single or multi-module Maven projects

πŸš€ Getting Started

  • Build & run locally with Docker
  • Use docker-compose to run Spring Boot + MySQL together
  • Extend easily for additional services

About

A complete guide to containerizing Spring Boot applications with Docker and connecting them to MySQL. Includes Dockerfile and docker-compose templates, environment variable configuration, and support for both single-project and Maven multi-module setups for easy local deployment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors