标题

Posted 只缘心高嫌地窄

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了标题相关的知识,希望对你有一定的参考价值。

Introduction

Deploy lnmp(Linux, nginx, mysql, php7) using docker.

I want to share my ideas and designs about Web-Deploying using Docker with you.

Architecture

The whole app is divided into three Containers:

  1. Nginx is running in Nginx Container, which handles requests and makes responses.
  2. PHP or PHP-FPM is put in PHP-FPM Container, it retrieves php scripts from host, interprets, executes then responses to Nginx. If necessary, it will connect to MySQL as well.
  3. MySQL lies in MySQL Container,

Our app scripts are located on host, you can edit files directly without rebuilding/restarting whole images/containers.

Build and Run

At first, you should have had Docker and Docker Compose installed.

Without building images one by one, you can make use of docker-compose and simply issue:

$ sudo docker-compose up

For more operations to containers, please refer to:

$ sudo docker-compose --help

Check out your https://\\

Contributors

Micooz micooz@hotmail.com

sndnvaps sndnvaps@gmail.com

License

MIT

以上是关于标题的主要内容,如果未能解决你的问题,请参考以下文章

测试js的博客模板

MarkDown语法示例

Markdown基本语法

Markdown语法基础

UICollectionView 标题视图类似于表视图标题(不是节标题)

MarkDown常用语法