[英]How to dockerize a microservice php application?
I have around 10 microservices built on Yii PHP on my development environment.我的开发环境中有大约 10 个基于 Yii PHP 的微服务。 They are all running on vagrant.它们都在 vagrant 上运行。 They share the same database (MongoDB), and same Nginx.它们共享相同的数据库 (MongoDB) 和相同的 Nginx。 Some services uses elastic,redis,rabitmq....etc.一些服务使用elastic,redis,rabitmq....等。 I need to use docker instead of vagrant.我需要使用 docker 而不是 vagrant。 What is the best way to dockerize the whole application?将整个应用程序 docker 化的最佳方式是什么?
There is a lot of things if you are moving to dockerize your application.如果您要对应用程序进行 docker 化,有很多事情要做。 I have mention few tips that will help you in the development and production environment.我已经提到了一些可以在开发和生产环境中帮助您的技巧。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.