- 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.
推薦閱讀
- Instant Apache Stanbol
- Linux C/C++服務器開發實踐
- 樂高機器人設計技巧:EV3結構設計與編程指導
- 跟老齊學Python:輕松入門
- HBase從入門到實戰
- 自然語言處理Python進階
- Elasticsearch Server(Third Edition)
- AIRIOT物聯網平臺開發框架應用與實戰
- Python3.5從零開始學
- IoT Projects with Bluetooth Low Energy
- Oracle Data Guard 11gR2 Administration Beginner's Guide
- R語言實戰(第2版)
- 產品架構評估原理與方法
- Mastering React Test:Driven Development
- Spring Microservices