Тёмный

Spring Boot MicroServices Course : Dockerizing Catalog Service 

SivaLabs
Подписаться 6 тыс.
Просмотров 1,2 тыс.
50% 1

#sivalabs #java #spring #springboot #springcloud #microservices #restapi #rabbitmq #testing #junit #junit5 #maven #testcontainers #docker #kubernetes
In this video, you will learn:
► How to create a Docker image of a Spring Boot application using Cloud Native Buildpacks
► How to run a Spring Boot application and Postgres database using Docker Compose
► How to build and push a Docker image from GitHub Actions
❤️ Thanks for watching
References
=============================================
⭐ Source Code: github.com/sivaprasadreddy/sp...
⭐ Spring Boot Tutorials: www.sivalabs.in/spring-boot-t...
Connect with Me
=============================================
Blog: www.sivalabs.in
RU-vid: / sivalabs
Twitter: / sivalabs
GitHub: github.com/sivaprasadreddy
LinkedIn: / ksivaprasadreddy
Must Watch Videos
=============================================
🚀 🎬 Spring Boot REST API Anti-Patterns and Best Practices • Spring Boot REST API A...
🚀 🎬 Modern Spring Boot Application Development using Java 17/21 and Testcontainers • Modern Spring Boot App...
🚀 🎬 How do I upskill myself, and what tools & techniques do I use? • How do I upskill mysel...
🚀 🎬 Top 5 Tips to Succeed in Technical Interviews • Top 5 Tips to succeed ...
Popular Series Playlists
=============================================
🚀 🎬 Spring Boot Tips Series Playlist • Spring Boot Tips
🚀 🎬 Spring Boot + Kubernetes Tutorial Series Playlist • Spring Boot + Kubernet...
🚀 🎬 Spring Boot - The Missing Guide Series Playlist • Spring Boot - The Miss...
🚀 🎬 Integration Testing with Testcontainers • Integration Testing wi...
🚀 🎬 Java Testing Made Easy Playlist • Java Testing Made Easy...
⭐ Tags ⭐
best spring tutorials, best spring boot tutorials, how to learn spring boot, mastering spring boot, complete java testing course, java testing best practices, how to build spring boot rest API, spring cloud tutorials, spring boot docker tutorial, spring boot kubernetes tutorial, how to become proficient in java, how to learn spring boot quickly, how to learn spring boot in-depth

Наука

Опубликовано:

 

12 апр 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@azdanov
@azdanov 3 месяца назад
Cool to learn that paketo buildpacks are so easy to use. At work for some reason we have a custom Dockerfile, which requires a lot of maintenance and security hardening.
@reallylordofnothing
@reallylordofnothing 3 месяца назад
one reason why I think Siva has really made sure these videos are professional: he could have just copy pasted the docker commands for login but he went to the docker git profile to show where he picked up the command from. He has consistently done this for spotless et al. A really good chapter of the micro service course.
@manuonda
@manuonda Месяц назад
Thanks for the video amazing!
@himanshujain9933
@himanshujain9933 3 месяца назад
Thanks a lot!
@sujayrj
@sujayrj 3 месяца назад
when we are already creating the image and pushing to DockerHub using MAven plugin CNI, what is the need to create docker compose for App again. Could you please clarify
@jeevaathecoder
@jeevaathecoder 3 месяца назад
Pls Upload Remaing videos as quick as possible
@rsmpark
@rsmpark 2 месяца назад
Do you have a specific plugin that allows your template literals ${{var}} to be highlighted? In my intellij it doesn't seem to highlight the syntax for template literals
@sivalabs
@sivalabs 2 месяца назад
I am using Intellij IDEA Ultimate Edition which provides syntax highlighting for Thymeleaf tempates.
@DileepKumar-kg7ve
@DileepKumar-kg7ve 3 месяца назад
Hi Siva Facing issue in github actions part ./mvnw ntp verify command is giving permission denied error in github actions I have tried multiple things in windows but nothing is working
@sivalabs
@sivalabs 3 месяца назад
It seems when project is created on Windows, the mvnw doesn't have executable permission. I have updated the pipeline configuration in the github repository. Adding the following should work: - name: Make Maven wrapper executable run: chmod +x mvnw
@DileepKumar-kg7ve
@DileepKumar-kg7ve 3 месяца назад
@@sivalabs Thank you so much It worked now.
@rsmpark
@rsmpark 2 месяца назад
I'm getting an error when composing the app.yml. "service "catalog-service" depends on undefined service "catalog-db": invalid compose project" Do you know how to fix this issue?
@sivalabs
@sivalabs 2 месяца назад
The name should be the same as Postgres service name you define for catalog Postgres database.
@rsmpark
@rsmpark 2 месяца назад
@@sivalabs I have the same service name but it still produces error. ## infra.yml name: "microlib-microservices" services: catalog-db: image: postgres:16-alpine container_name: catalog-db environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres - POSTGRES_DB=postgres ports: - "15432:5432" healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 10s timeout: 5s retries: 5 deploy: resources: limits: memory: 500m ## apps.yml name: "microlib-microservices" services: catalog-service: image: rsmpark/micro-lib-catalog-service container_name: catalog-service environment: - SPRING_PROFILES_ACTIVE=docker - DB_URL=jdbc:postgresql://catalog-db:5432/postgres - DB_USERNAME=postgres - DB_PASSWORD=postgres ports: - "8081:8081" restart: unless-stopped depends_on: catalog-db: condition: service_healthy deploy: resources: limits: memory: 700m
@sreenathssdx
@sreenathssdx 3 месяца назад
Seems like the source code URL given is not correct. Please have a look.
@sivalabs
@sivalabs 3 месяца назад
Thanks for letting me know. Corrected it pointing to github.com/sivaprasadreddy/spring-boot-microservices-course.
@sakthinivas1840
@sakthinivas1840 3 месяца назад
Whats the purpose of adding Spring profile docker in apps.yml? thanks
@sivalabs
@sivalabs 3 месяца назад
Currently it doesn't serve any purpose apart from knowing the application is running in Docker containers. the application logs print that the application is running with "docker" profile.
@sakthinivas1840
@sakthinivas1840 3 месяца назад
Also, the env variables (DB_URL, DB_USERNAME) are standard names or can use any user defined names? please clarify
@sivalabs
@sivalabs 3 месяца назад
@@sakthinivas1840 They are not standard names. You can use any other variable names.
Далее
Штаны легионера
00:44
Просмотров 415 тыс.
I'm Excited To see If Kelly Can Meet This Challenge!
00:16
UNO!
00:18
Просмотров 834 тыс.
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
So You Think You Know Git - FOSDEM 2024
47:00
Просмотров 1 млн
API Gateway | Microservice
11:48
Просмотров 67 тыс.
Microservices Explained in 5 Minutes
5:17
Просмотров 719 тыс.