Docker Compose is used to run multiple containers as a single service.
For example, suppose you had an application which required NGNIX and MySQL,
you could create one file which would start both the containersย
as a service without the need to start each one separately.
โ๐๐ซ๐๐๐ญ๐ข๐ง๐ ๐๐จ๐ฎ๐ซ ๐ ๐ข๐ซ๐ฌ๐ญ ๐๐จ๐๐ค๐๐ซ-๐๐จ๐ฆ๐ฉ๐จ๐ฌ๐ ๐ ๐ข๐ฅ๐ โ
๐ ๐ข๐๐ ๐ฃ๐๐ ๐๐๐๐๐๐-๐๐๐๐๐๐ ๐.๐ฆ๐๐ย
โ๐๐ฎ๐ง๐ง๐ข๐ง๐ ๐๐จ๐ฎ๐ซ ๐ ๐ข๐ซ๐ฌ๐ญ ๐๐จ๐๐ค๐๐ซ-๐๐จ๐ฆ๐ฉ๐จ๐ฌ๐ ๐ ๐ข๐ฅ๐๐โโ๏ธ๐จ
๐ ๐ข๐๐ ./๐๐๐๐๐๐-๐๐๐๐๐๐ ๐ ๐ข๐ย
Once executed, all the images will start downloading and the containers will start automatically.
โ๐๐ก๐๐๐ค๐ข๐ง๐ ๐ญ๐ก๐๐ญ ๐ญ๐ก๐ ๐๐จ๐ง๐ญ๐๐ข๐ง๐๐ซ๐ฌ ๐๐ซ๐ ๐ข๐ง๐๐๐๐ ๐ฎ๐ฉ ๐๐ง๐ ๐ซ๐ฎ๐ง๐ง๐ข๐ง๐ .๐ต๏ธโโ๏ธ
๐๐๐๐๐๐ ๐๐