Day 5: Docker Zero to Hero Bangla Course (Module -5-Docker Compose & Volume Mounting)

 

 

Install docker compose

sudo curl -L https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

docker-compose version

 

 

Clone the repo

 

git clone https://github.com/shawon100/RUET-ChatBot


Go to the folder


Check the config.php and match the MSYQL DB credentials with docker-compose.yml

 

Create a volume folder called db-volume

 

mkdir db-volume 


Deploy the Application

 

docker-compose up -d

 

Finally go to http://localhost:5600 to check the application 

 

If you want to remove the application then type

 

docker-compose down

 

 

Video Tutorial:

 


 

 

 



Download Coding Interview Book and Get More Tutorials for Coding and Interview Solution: Click Here

Download System Design Interview Book and Get More Tutorials and Interview Solution: Click Here

Do you need more Guidance or Help? Then Book 1:1 Quick Call with Me: Click Here

Share on Google Plus

About Ashadullah Shawon

I am Ashadullah Shawon. I am a Software Engineer. I studied Computer Science and Engineering (CSE) at RUET. I Like To Share Knowledge. Learn More: Click Here
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment