Docker Container for Node.Js Application with MySQL Database

preview_player
Показать описание
First build the docker image with a docker file and then create a docker-compose file to run both the application.

Also the docker-compose file contains phpMyadmin application which will needed to access the containerised MySQL database.

You can find the below links useful:

Рекомендации по теме
Комментарии
Автор

Amazing video tutorial, thank you very much.

nrusinghabarik
Автор

Nice video it helps me.. But I am using node js (application) + xampp (database ). Then which base image I will used and how I define docker compose file. Please help me out

divyashirsat
Автор

bro i get sequelized connection error in docker, can u help me how to solve it

relaxingmusic
Автор

Hello Sir, is there a way to run the create table command and some select query in index.js ? Without having to call localhost:30001 ?

pulkitagarwal
Автор

Can't we make a general docker container, so that we can start any new node.js project anytime just by starting the container .

aashishkumar
Автор

Amazing video, thank you very much! Now it would be helpful to create the db tables using a script when running the image, but that's the next step.

lolabach
Автор

hi sir thank you for this video. If you can help me. i'm getting error with my docker compose nodejs, if i run with the command npm run local the error saying is "Environment variable USE_PROXY needs to be set". Thank you.

mudardastam
Автор

let me ask. how can i synchronize code local with code on docker ?

mountain_pink
Автор

Hi thanks for making video, i am getting error unsupported config option for service.db:'enviorment'

Raj-siyz