Public | Automated Build

Last pushed: 4 months ago
Short Description
Simply deploy lnmp(Linux, Nginx, MySQL, PHP7) using Docker.
Full Description

dk-lnmp

Simply deploy lnmp(Linux, Nginx, MySQL, PHP7) using Docker.

Usage

Installation

Cloned to the deployment path.

$ git clone https://github.com/WindomZ/dk-lnmp.git
$ cd dk-lnmp

Configuration

  • Configure ./env file, modify MYSQL_PASSWORD to yours.

  • Configure ./docker-compose.yml, if you need to change ports.

  • nginx configuration in ./nginx/nginx.conf.

  • php configuration in ./php-fpm/php.conf.

Build and Run

You should have had Docker
and Docker Compose installed.

Deploy up and run lnmp:

$ ./sh-up.sh

Destroy down and stop lnmp:

$ ./sh-down.sh

Volumes

./html/

nginx root path.

In this deployment of your project.

./mysql/

mysql data source.

DO NOT MODIFY!

./share/

Shared folder between nginx, php and mysql containers.

Reference

License

The MIT License

Docker Pull Command
Owner
windomz
Source Repository

Comments (0)