Multi-Container application with docker-compose.yml in an easy way

Опубликовано: 14 Май 2026
на канале: Al Sangam
886
2

*Aim of this video:* To run the flask app to count frequency of important words using docker-compose, dockerfile and docker image

*Prerequisite required:* Docker Image, Docker hub and docker-compose.yml

*References for this video:*

1.) https://github.com/AISangam/Counting-...
2.) https://hub.docker.com/

Packages needed to use docker-compose
sudo apt install docker-compose

*How to run this file*

Please issue the below command in the directory you have docker-compose.yml dockerfile

docker-compose up

Some general discussion
1.) To know about the docker file, creating the docker image as well as pushing the docker image to the docker-hub, please refer to the Readme File provided in the github link https://github.com/AISangam/Counting-...

2.) Docker-compose is used to run multiple services at the same time which are needed for a project by creating the bridge between these services. For example in this project mysql is needed so both the images of app as well as mysql is pulled and is connected through the network.

About AISangam
AI Sangam is machine learning company in India which provides data science solutions as well as guiding for better codes and skills in python, django, flask. We aim to improve education and knowledge through sharing and discussions.
You can connect us at skype: aisangamofficial or email us at [email protected]

Visit us at: https://www.aisangam.com/

Thanks for watching and don't forget to subscribe us.