Giter Club home page Giter Club logo

docker-php-environment's Introduction

DNMP(Docker + Nginx + Mongo + PHP7.1)
目录结构
.
└── docker-php-environment
    ├── build                           镜像构建目录
    │   ├── mongo
    │   │   └── Dockerfile
    │   ├── nginx
    │   │   └── Dockerfile
    │   └── php71
    │       ├── Dockerfile
    │       ├── GeoLiteCity.dat
    │       ├── cphalcon.tgz
    │       ├── geoip-1.1.1.tgz
    │       ├── memcached-3.0.4.tgz
    │       ├── mongodb-1.4.2.tgz
    │       ├── redis-4.0.0.tgz
    │       ├── sources.list
    │       ├── swoole-2.2.0.tgz
    │       └── xdebug-2.6.0.tgz
    ├── components                     组件库
    │   ├── nginx
    │   │   └── conf.d                 nginx项目配置文件目录
    │   │       └── localhost.conf
    │   └── php71                       
    │       └── conf.d
    │           ├── fpm
    │           │   └── www.conf
    │           └── php.ini
    ├── docker-compose.yml             docker compose 配置文件
    ├── .env                           环境配置文件
    ├── xdebug_alias_ip.sh             mac设置ip别名
    └── www                            项目目录
        └── html
            └── index.php
开始安装
git clone https://github.com/lucid-dream/docker-php-environment.git
cd docker-php-environment
# 配置项目目录、端口
vim .env
# 构建镜像并启动容器
sudo docker-compose up --build -d
启动成功访问 http://localhost/index.php
参考资料
https://github.com/yeszao/dnmp
https://github.com/exc-soft/docker-lnmp

docker-php-environment's People

Contributors

lucid-dream avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.