1 Star 7 Fork 4

ibenchu / docker-lnmp

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
readme.md

##使用说明:

安装docker和composer

安装docker和composer请点我

下载

git clone http://git.oschina.net/ibenchu/docker-lnmp

yml文件(可跳过)

ports 宿主机端口:容器端口 volumes 宿主机目录:容器目录 links 用于连接容器,容器别名:连接名

配置nginx文件

在config目录的conf目录下 新建主机请建在vhost目录下,可以参照demo

运行

第一次运行

docker-compose up

启动、重启、关闭: docker-compose start docker-compose retart docker-compose stop

请一定在yml文件所在目录执行

使用说明

查看使用说明(PHP\composer)

nginx使用说明

Repository Comments ( 1 )

Sign in for post a comment

About

Deploy lnmp(Linux, Openresty(nginx)&ngx_pagespeed, MariaDB(MySQL), Postgesql,PHP7&swoole,redis) using docker. expand collapse
Docker
Cancel

Releases

No release

docker-lnmp

Contributors

All

Activities

Load More
can not load any more
Docker
1
https://git.oschina.net/ibenchu/docker-lnmp.git
git@git.oschina.net:ibenchu/docker-lnmp.git
ibenchu
docker-lnmp
docker-lnmp
master

Search