All Projects → micooz → Docker Lnmp

micooz / Docker Lnmp

Licence: mit
😒 Deploy lnmp(Linux, Nginx, MySQL, PHP7) using docker.

Projects that are alternatives of or similar to Docker Lnmp

Awesome Programming Books
📚 经典技术书籍推荐,持续更新...
Stars: ✭ 3,472 (+1020%)
Mutual labels:  mysql, nginx
Kickoff Docker Php
🐳 🐘 🚀 Easily setup a PHP project with Docker
Stars: ✭ 213 (-31.29%)
Mutual labels:  mysql, nginx
Seconds Kill
基于 Springboot + Redis + Kafka 的秒杀系统,乐观锁 + 缓存 + 限流 + 异步,TPS 从 500 优化到 3000
Stars: ✭ 180 (-41.94%)
Mutual labels:  mysql, nginx
Lnmp
LNMP一键安装包是一个用Linux Shell编写的可以为CentOS/RHEL/Fedora/Aliyun/Amazon、Debian/Ubuntu/Raspbian/Deepin/Mint Linux VPS或独立主机安装LNMP(Nginx/MySQL/PHP)、LNMPA(Nginx/MySQL/PHP/Apache)、LAMP(Apache/MySQL/PHP)生产环境的Shell程序。
Stars: ✭ 2,119 (+583.55%)
Mutual labels:  mysql, nginx
Docker Lnmp
🐋Docker-compose(Linux,Nginx,MySQL,PHP7,Redis)
Stars: ✭ 244 (-21.29%)
Mutual labels:  mysql, nginx
Lyonblog
基于Java8的SSM+Elasticsearch全文检索的个人博客系统
Stars: ✭ 169 (-45.48%)
Mutual labels:  mysql, nginx
Blog
Hi, I am CrazyCodes, and here are all my articles
Stars: ✭ 212 (-31.61%)
Mutual labels:  mysql, nginx
Meetingfilm
基于微服务架构的在线电影购票平台
Stars: ✭ 149 (-51.94%)
Mutual labels:  mysql, nginx
Typescript Express Starter
🚀 TypeScript Express Starter
Stars: ✭ 238 (-23.23%)
Mutual labels:  mysql, nginx
Typo3 Docker Boilerplate
🍲 TYPO3 Docker Boilerplate project (NGINX, Apache HTTPd, PHP-FPM, MySQL, Solr, Elasticsearch, Redis, FTP)
Stars: ✭ 240 (-22.58%)
Mutual labels:  mysql, nginx
Developer
Gameserver, Voiceserver, Rootserver Webinterface
Stars: ✭ 161 (-48.06%)
Mutual labels:  mysql, nginx
Lnmp
Support: Nginx 1.12/1.13 + MySQL 5.5/5.6/5.7/8.0(MariaDB 5.5/10.0/10.1/10.2/10.3) + PHP 5.4/5.5/5.6/7.0/7.1/7.2 + phpMyAdmin(Adminer)
Stars: ✭ 262 (-15.48%)
Mutual labels:  mysql, nginx
Oneinstack
OneinStack - A PHP/JAVA Deployment Tool
Stars: ✭ 1,983 (+539.68%)
Mutual labels:  mysql, nginx
Guacamole Install Rhel 7
Apache Guacamole installation bash script for RHEL 7 and CentOS 7 including options for Nginx, HTTPS, SSL, LDAP, Let's Encrypt certificates and more
Stars: ✭ 174 (-43.87%)
Mutual labels:  mysql, nginx
Movie recommend
基于Spark的电影推荐系统,包含爬虫项目、web网站、后台管理系统以及spark推荐系统
Stars: ✭ 2,092 (+574.84%)
Mutual labels:  mysql, nginx
Ansipress
AnsiPress - Simple L(Linux) E(NGINX) M(MariaDB) P(PHP7) Shared Hosting Setup
Stars: ✭ 184 (-40.65%)
Mutual labels:  mysql, nginx
Roothub
使用 SSM 和 MySQL 开发的论坛系统
Stars: ✭ 131 (-57.74%)
Mutual labels:  mysql, nginx
Owasp Mth3l3m3nt Framework
OWASP Mth3l3m3nt Framework is a penetration testing aiding tool and exploitation framework. It fosters a principle of attack the web using the web as well as pentest on the go through its responsive interface.
Stars: ✭ 139 (-55.16%)
Mutual labels:  mysql, nginx
Lnmp
LEMP stack/LAMP stack/LNMP stack installation scripts for CentOS/Redhat Debian and Ubuntu
Stars: ✭ 2,488 (+702.58%)
Mutual labels:  mysql, nginx
Webinoly
Optimized LEMP Web Server to manage your WordPress, PHP, or simple HTML sites running on a powerful NGINX setup.
Stars: ✭ 254 (-18.06%)
Mutual labels:  mysql, nginx

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

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://<docker-host> and have fun 🍺

Contributors

Micooz [email protected]

sndnvaps [email protected]

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].