Город МОСКОВСКИЙ
00:11:23

How to use Docker to dockerize a Spring Boot application, React app, NginX proxy | Docker Compose

Аватар
Основы React: создание веб-приложений
Просмотры:
27
Дата загрузки:
27.11.2023 21:04
Длительность:
00:11:23
Категория:
Технологии и интернет

Описание

In this step by step tutorial we are going to dockerize the Spring Boot Java application along with a React application and NginX proxy. We are going to create a docker-compose file and set up NginX proxy as well. Finally we are going to run our front-end React application, back-end Spring Boot application (with Jersey REST API), and NginX proxy inside docker containers with only one command.

If you missed the part 1 where we set up the development environment (VsCode), then you can find it here: https://www.youtube.com/watch?v=rsr6X5M6-6M

If you missed the part 2 where we set up the Spring Boot application's Dockerfile and Jersey REST API: https://www.youtube.com/watch?v=N1MT1Ny6JC8

00:00 - Intro
00:48 - Downloading git repositories
01:21 - Testing the back-end Spring Boot application
03:02 - Check the React front-end application
04:37 - Testing FE and BE together
05:49 - Check the Dockerfiles of FE and BE
06:52 - Setup NginX proxy
07:16 - Creating Docker compose file (docker-compose.yaml)
08:11 - Running Docker compose to start FE and BE, NginX together
09:58 - Testing the full stack application in the browser

You can download the React app from this repository: https://gitlab.com/codeching/springbootdockerreact

You can download the Spring Boot application from this repository:
https://gitlab.com/codeching/springbootdocker

Final repository could be found here, which contains the NginX configuration and docker-compose.yaml file: https://gitlab.com/codeching/dockerspringbootreactnginx


------------------------------

Welcome to Codeching channel!

My name is László Leber

Webpage: https://lebersoftware.hu
Facebook: https://www.facebook.com/Codeching-111388913727599/?modal=admin_todo_tour
Twitter: https://twitter.com/codeching
Instagram: https://www.instagram.com/laszlo_leber/

Рекомендуемые видео