Skip to content

zourite/Docker-NGINX-PHP-MAILHOG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Docker Web Stack

Inspirate From : Benecdictdudel

This is an unofficial, open-source and community-driven boilerplate for Web based projects that are running on Docker-Compose. It's an attempt of standardizing and making it easier to bootstrap web applications ready for development environments. The main services included are:

  • Nginx 1.13
  • MySQL 5.7
  • PHP 7.1

Please have a look at the Containers section for further included services.

Prerequisites

In order to start the containers you need to have installed the following software:

Usage

To start the containers cd into the directory containing this README and type the following command:

$ docker-compose up -d

To stop the containers type the following:

$ docker-compose down -v

Note: If you want to skip deleting the volumes remove the -v flag from the command.

Containers

nginx

nginx is an HTTP and reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server.

  • Port: 81

PHP-FPM

FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features (mostly) useful for heavy-loaded sites.

  • Port: 9000

MySQL

MySQL is an open-source relational database management system (RDBMS).

  • Host: localhost
  • Port: 3306
  • Username: web
  • Password: pass
  • Database: web

Mailhog

MailHog is an email testing tool for developers.

  • Port: 8025

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published