andrewmmc / dockerised-lnmp

PHP 7.1 + Nginx + MySQL

Home Page:https://andrewmmc.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dockerised LNMP

PHP 7.1 + Nginx + MySQL

Get started

$ docker-compose up --build

# View the start page at http://localhost:8081
# Connect to MySQL at localhost:3037

Useful command

# List all container
$ docker ps -a

# Enter PHP-FPM container
$ docker exec -i -t app_fpm /bin/bash

# Restart PHP-FPM inside container
$ kill -USR2 1

Uninstall

$ docker-compose stop
$ docker-compose rm -f

Authors

About

PHP 7.1 + Nginx + MySQL

https://andrewmmc.com


Languages

Language:Shell 94.0%Language:PHP 6.0%