Docker-Compose在linux下配置Lnmp环境

1.项目的目录在github中https://github.com/feiwudetudou/dnmp,大致的目录结构如下:

                        

2.直接运行docker-compose up -d便可启动Lnmp的环境,www中是php文件存在的路径,可在conf中对nginx,nysql,php进行设置

猜你喜欢

转载自blog.csdn.net/feiwutudou/article/details/84890143