docker-compose deployment test platform
1. docker-compose deployment
A project must contain multiple containers, and manually deploying each container individually must be time-consuming and laborious. Docker-compose can build images and start containers in batches through scripts, and quickly deploy projects.
Deployment using docker-compose mainly involves writing the docker-compose.yml script.
1. Project structure
The writing of both the Dockerfile and the docker-compose.yml script depends on the context, so the project structure of the deployment folder needs to be clearly defined.