How to Docker with Spring Boot

Опубликовано: 12 Октябрь 2021
на канале: OktaDev
6,964
135

This screencast shows you how to Dockerize your Spring Boot apps and deploy them to Heroku.

Blog post: https://developer.okta.com/blog/2020/...
GitHub repo: https://github.com/oktadev/okta-sprin...
Demo script: https://github.com/oktadev/okta-sprin...

Table of Contents:

00:00 - Introductions
00:59 - Prerequisites
01:25 - Bootstrap a Secure Spring Boot Application
03:53 - Run Your Spring Boot Application
04:11 - Build a Spring Boot Docker Image
05:09 - Secure Your Spring Boot Application in Docker
06:36 - Configure Spring Security to Lock Down Access
07:24 - Start Spring Boot Application in Docker
09:27 - Use a dotenv File for Environment Variables
10:35 - Deploy Spring Boot + Docker to Heroku
15:26 - Learn More About Docker, Spring Boot, and Buildpacks

#SpringBoot #Docker #Java
----
Okta is a developer API service that stores user accounts for your web apps, mobile apps, and APIs.

Sign up for Okta for free at https://developer.okta.com/signup
For more info visit us at https://developer.okta.com
Developer Blog: https://developer.okta.com/blog
Sample Apps on GitHub: https://github.com/oktadev
Follow us on Twitter:   / oktadev  
Follow us on FB:   / oktadevelopers  
Follow us on LinkedIn:   / oktadev