34. Docker Compose deploys microservices

1. Case

2. Cloud-demo analysis

 3. Start deployment

4. Summary analysis 

        Prepare the docker compose file, as well as related microservice jar packages and dockerfile files

        There will be some problems in docker compose deployment according to the prepared information. Nacos is not installed in the order of the docker compose files, resulting in errors in the order and user services later, so you need to restart related services through docker-compose restart gateway userservice orderservice. In actual development, it is recommended to deploy and run the nacos container first.

cloud-demo icon-default.png?t=M85Bhttps://download.csdn.net/download/weixin_40968009/86993202         The above content is from Dark Horse Programmer, and the learning rhythm of the course is gradual. I think it is very good after studying, and friends who are interested should not miss it.

Spring Cloud Dark Horse Programmer Open Course icon-default.png?t=M85Bhttps://www.bilibili.com/video/BV1LQ4y127n4/?spm_id_from=333.337.search-card.all.click&vd_source=14fddb9f4c113af7bdb1f50651dffc4d

Guess you like

Origin blog.csdn.net/weixin_40968009/article/details/127833425