Skip to content

使用Docker搭建php5.6,php7.2,nginx,redis4.0,mysql5.6,elasticsearch等环境

Notifications You must be signed in to change notification settings

88659108/docker_files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

项目介绍

使用Docker搭建php5.6,php7.2,nginx,redis4.0,mysql5.6,elasticsearch等环境

目录说明

目录 说明
--- conf docker手动安装配置文件
--- --- nginx nginx配置
--- --- redis redis配置
--- --- mysql redis配置
--- --- php56 php5.6配置
--- --- php72 php7.2配置
--- --- es elasticsearch配置
--- data 数据文件夹
--- --- redis redis数据持久化目录
--- --- mysql mysql数据持久化目录
--- ext.tools PHP扩展包文件
--- --- redis.tar.gz redis扩展包
--- logs 程序运行日志文件夹
--- --- php56 php5.6日志
--- --- php72 php7.2日志
--- --- mysql mysql日志
--- --- nginx nginx日志
--- --- redis redis日志
--- --- es es日志
--- --- es02 es02日志
--- --- es03 es03日志
--- wwwroot 代码文件夹
--- --- index.html html测试
--- --- index.php php测试
--- --- phpinfo.php phpinfo函数
--- --- l.php 探针
--- --- redis.php redis测试
--- --- mysql.php mysql测试
--- Docker_Run.txt docker命令 操作说明 - 教程
--- 安装扩展.txt 扩展安装命令

一 、手动安装容器 (推荐使用此方法)

一,设置docker环境相关信息

1,下载到本地
git clone https://code.aliyun.com/csboge/docker_files.git docker
cd docker
pwd #获得 [真实目录]

2,Docker_Run.txt  操作教程(详细、亲测)
- 示例目录: "E:/conf/docker/"
- 自行替换 [真实目录]  
- 如: txt文件(编辑->替换)   "E:/conf/docker/" ==> "{$path}/docker/"

3,安装扩展.txt


# 二 、其他方法

参考:https://github.com/duzhenxun/dockerfiles-lnmp 感谢博主,我也是参考这个,完全笔记下来,稍稍改造完成的 docker命令。

About

使用Docker搭建php5.6,php7.2,nginx,redis4.0,mysql5.6,elasticsearch等环境

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published