The backend will run on two ports:
| Version | Port |
|---|---|
| Blue | 8080 |
| Green | 8081 |
Only one version is LIVE at a time.
When a new version is deploying:
✅ Zero downtime achieved!
When you push to the main branch:
./mvnw clean package
This produces: bootstrap-0.0.1-SNAPSHOT.jar
GitHub uses SCP (secure file copy) to transfer the JAR file.
This is where Blue-Green deployment happens: