Find Francesco: francescociulla.com 0:00 Introduction. Docker intro 10:40 Project initialization, install dependencies, structure, index.js, test API Hello World 30:47 Dockerization, Dockerfile, docker-compose, run Postgres container 1:04:41 connection between the server and the DB 1:13:!7 users routes, model, controller 1:44:33 final version of the image and test
Really helpful! I only started playing around with Docker yesterday, and was struggling to connect my Node app to the Postgres container, this video solved my problem (and taught me a lot on the way!) Thanks a lot :-)
Thanks to this video I was able to connect my api with my postgres service, I didn't know how to connect it, it gave me an error and it was because of the HOST variable, thank you very much.
I was a little confused about Docker. Did that tutorial thrice, I've learned a lot of things ! I've stored the commands for personal usage! Thank you ! :)
i have followed you step by step but at 1:03:13 you are writing a command docker up, for postgres image but it is giving error "volumes should be maping" please help what can i do??? i have to submit my assignment today.
@@francescociulla i did the same as you were doing...but postgres image is not creating.....when i run the command "docker-compose up" it says "volume must be maping"..
sir, i have problem. i do your tutorial one by one by always has this problem ConnectionRefusedError [SequelizeConnectionRefusedError]: connect ECONNREFUSED 127.0.0.1:5432 idk how to fix it. i use stack overflow still stuck
This is very insightful. Thank you Mr. Shinan.
I look forward to seeing more of your content.
you are welcome Uri! See you next time!
Find Francesco: francescociulla.com
0:00 Introduction. Docker intro
10:40 Project initialization, install dependencies, structure, index.js, test API Hello World
30:47 Dockerization, Dockerfile, docker-compose, run Postgres container
1:04:41 connection between the server and the DB
1:13:!7 users routes, model, controller
1:44:33 final version of the image and test
Ana JavaSpriht alhamdulila
:)
So useful!! Thanks man
You are welcome Foxypixie!
Nice 👏🏿👏🏿
Thank you!
Really helpful! I only started playing around with Docker yesterday, and was struggling to connect my Node app to the Postgres container, this video solved my problem (and taught me a lot on the way!) Thanks a lot :-)
you are welcome Yoad!
Thanks to this video I was able to connect my api with my postgres service, I didn't know how to connect it, it gave me an error and it was because of the HOST variable, thank you very much.
I know, that's one of the crucial steps in the connection of the container db to the container app!
Good!!!!
Thank you Francesco!!!
I was a little confused about Docker. Did that tutorial thrice, I've learned a lot of things ! I've stored the commands for personal usage! Thank you ! :)
you are welcome 🙏
lit 🔥
🔥🔥🔥
i have followed you step by step but at 1:03:13 you are writing a command docker up, for postgres image but it is giving error "volumes should be maping" please help what can i do??? i have to submit my assignment today.
hard to help you in this way. how did you name your db and services?
@@francescociulla i did the same as you were doing...but postgres image is not creating.....when i run the command "docker-compose up" it says "volume must be maping"..
depends_on:
- node_db
node_db:
container_name: node_db
image: "postgres:12"
ports:
- "5432:5432"
environment:
- POSTGRES_USER=noorimranrana
- POSTGRES_PASSWORD=12345
- POSTGRES_DB=assesment_db
volumes:
- nps_data:/var/lib/postgresql/data/
volumes:
- nps_data: {}
after writing this when i run the command "docker-compose up" it says "volumes must be a mapping"
try to copy exactly the docker compose as in the repo.
Thanks! This was very helpful!
Thank you Shira! Highly Appreciated!
Great 💪🏻
Thank you!
Love it! Keep it coming
For sure Ayalon!
hi sir what is pc do u use it is very fast, i run this in mypc but takes a lot time
I tihnk it's more about the internet connection
Love it
You are welcome Tal Basis
sir, i have problem. i do your tutorial one by one by always has this problem
ConnectionRefusedError [SequelizeConnectionRefusedError]: connect ECONNREFUSED 127.0.0.1:5432
idk how to fix it. i use stack overflow still stuck
have you changed the name of the ip with the name of the container in the docker compose?
i have the same problem. How you fix that? how change the name of the ip?
@@francescociulla thanks for the tutorial, same problem here cloning the github repo, without editing a single line of code
@@happycoder2422 try this updated version of the video ruclips.net/user/liveUv-jMWV29rU?feature=share
try with this video ruclips.net/user/liveUv-jMWV29rU?feature=share
THIS WAS AWESOME! Thanks for the swee info!
you are welcome Will!
i love tabnine
🔥🔥🔥