Тёмный

How To Create Multi Containers Using Docker Compose | For SpringBoot & Postgresql 

CodeVice
Подписаться 442
Просмотров 9 тыс.
50% 1

Tap here and stay connected for upcoming videos: / @codevice111
Part 2 : How to create multi containers by using docker-compose tool for Spring boot application and PostgreSql database.
Part 1: How to dockerize spring boot app and postgreSQL db using docker run command
• How To Dockerize Sprin...
Development Tools & Frameworks:
1. #springboot
2. #postgresql / #postgres
3. #swagger
4. #hibernate
5. #pgadmin
6. #docker
7. #dockercompose
Do subscribe at:
/ @codevice111

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

 

18 мар 2023

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@chrisogwuche9645
@chrisogwuche9645 9 месяцев назад
Thank you
@mrpipiskin4
@mrpipiskin4 Год назад
Thank you very much for help. It would be much cooler if you do git repo for every video.
@CodeVice111
@CodeVice111 Год назад
Oh I see. Sure. I'll keep that in mind. Thanks 😊
@Akshay-wp1rg
@Akshay-wp1rg Год назад
I'm getting communication link failure I have given all properties and creditentails correctly. But I don't know and I have tried many way them too I'm facing this issue, can proved me with any solutions?
@CodeVice111
@CodeVice111 Год назад
You might see console log errors. But still try accessing swagger endpoint. If it's opening then your container is up. and make sure the connection properties are accurate as per the video. And make sure you've restart:always configured for both the containers for retry-fallback mechanism.
@anmoldodwad2125
@anmoldodwad2125 Год назад
When i add the dynamic variables ${db-url} etc and try to build my springboot application there is a error for connectivity with postgresql server. I think its because there is not container for postgres yet and therefore no DB , when should I build the springboot application with those changes or without them ??
@CodeVice111
@CodeVice111 Год назад
U may encounter this connection err. Thats why we are adding a retry fallback option called "restart: always" in docker compose. Now 2nd thing is.. even though there is an err.. still.. try accessing swagger or thru postman etc.. and do insert 1 record.
@VitaliiSmahlenko
@VitaliiSmahlenko 8 месяцев назад
Could you share a link to the github repository of this project?
@davronabdusalomov3373
@davronabdusalomov3373 6 месяцев назад
Thanks! But it would be great if you solved the connection issue!
@CodeVice111
@CodeVice111 6 месяцев назад
Point taken. 😊
@abdirahmanabdullahi5471
@abdirahmanabdullahi5471 4 месяца назад
Cant access my web application from the browser
@CodeVice111
@CodeVice111 3 месяца назад
please check whether desired number of containers are up and running or not, by simply running `docker ps `. or `docker ps --all`. If your desired containers are listed. Then you can trace the exact log of individual container with this command called: `docker logs `. Thanks for watching.
@Maha-qp4dz
@Maha-qp4dz 20 дней назад
Hi , I'm trying to deploy my springapplication + postgres , I have created a docker file , created my docker compose file, I have successfully ran "docker-compose build", but on running , i got this below error: "Cannot invoke "org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(java.sql.SQLException, String)" because the return value of "org.hibernate.resource.transaction.backend.jdbc.internal.JdbcIsolationDelegate.sqlExceptionHelper()" is null " kindly help me to resolve this issue
@CodeVice111
@CodeVice111 20 дней назад
Sure buddy. Could you please help me what are you getting when u check the followings: 1. After executing "docker-compose up" are you able to see 2 running containers when you do "docker ps"? (Y/N) 2. Able to connect to db from pgAdmin? Before testing the db connection Spring boot app. (Y/N) 3. Both containers must on the same docker network. (Y/N) 4. If the above things are good. Doble check the db connection in your app.yaml file. Do leme know what you see buddy
Далее
I tried 8 different Postgres ORMs
9:46
Просмотров 393 тыс.
Setup postgres and pg-admin in docker compose
8:06
Просмотров 21 тыс.
I've been using Redis wrong this whole time...
20:53
Просмотров 339 тыс.
Why Does Scrum Make Programmers HATE Coding?
16:14
Просмотров 508 тыс.