- 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.
推薦閱讀
- Learning Chef
- SEO實戰密碼
- Python程序設計
- PHP+MySQL+Dreamweaver動態網站開發實例教程
- The Data Visualization Workshop
- Julia Cookbook
- Unity Game Development Scripting
- R Data Analysis Cookbook(Second Edition)
- Internet of Things with ESP8266
- 21天學通C++(第5版)
- JavaScript程序設計:基礎·PHP·XML
- Python數據可視化之美:專業圖表繪制指南(全彩)
- 輕松學Scratch 3.0 少兒編程(全彩)
- Azure for Architects
- 深度學習:基于Python語言和TensorFlow平臺(視頻講解版)