Skip to content

一个便于安装mysql,nginx,php以及php扩展的docker-composer

Notifications You must be signed in to change notification settings

nineyang/docker-for-lnmp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

简介

LNMP包含了mysql:5.7nginx:1.1php:7.1以及php的相关扩展,GitHub地址:https://github.com/nineyang/docker-for-lnmp

操作

git clone下来之后cd到该目录下并执行

docker-compose up --build -d

停止容器

docker-compose stop

重新开启容器

docker-compose start

删除容器

docker-compose down

安装php扩展

php扩展主要根据docker提供的docker-php-ext-install来安装,非常方便,查看例子

访问

浏览器输入localhost:8888

About

一个便于安装mysql,nginx,php以及php扩展的docker-composer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages