- Building Web Apps with Spring 5 and Angular
- Ajitesh Shukla
- 124字
- 2021-07-02 19:38:27
What is Docker compose?
Docker compose is a tool for defining and running multi-container Docker applications. One will require to create a Compose file to configure the application's services. The following steps are required to be taken in order to work with Docker compose:
- Define the application’s environment with a Dockerfile so it can be reproduced anywhere.
- Define the services that make up the application in docker-compose.yml so they can be run together in an isolated environment.
- Lastly, run docker-compose, and Compose will start and run the entire application.
As we are going to set up a multi-container application using Tomcat and MySQL as different containers, we will use Docker compose to configure both of them, and then, assemble the application.
推薦閱讀
- Java程序設(shè)計(jì)與開發(fā)
- Android和PHP開發(fā)最佳實(shí)踐(第2版)
- 網(wǎng)頁設(shè)計(jì)與制作教程(HTML+CSS+JavaScript)(第2版)
- Apache Karaf Cookbook
- INSTANT Passbook App Development for iOS How-to
- Unity 5 for Android Essentials
- 程序設(shè)計(jì)基礎(chǔ)教程:C語言
- C和C++游戲趣味編程
- Learning Continuous Integration with TeamCity
- SpringBoot從零開始學(xué)(視頻教學(xué)版)
- Photoshop CC移動(dòng)UI設(shè)計(jì)案例教程(全彩慕課版·第2版)
- Practical Maya Programming with Python
- Python面試通關(guān)寶典
- Clojure for Finance
- ArcPy and ArcGIS(Second Edition)