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.
In order to start the containers you need to have installed the following software:
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.
nginx is an HTTP and reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server.
- Port: 80
FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features (mostly) useful for heavy-loaded sites.
- Port: 9000
MySQL is an open-source relational database management system (RDBMS).
- Host: localhost
- Port: 3306
- Username: web
- Password: pass
- Database: web
Redis is an open source, in-memory data structure store, used as a database, cache and message broker.
- Port: 6379
Memcached is a free & open source, high-performance, distributed memory object caching system.
- Port: 11211
phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web
- Port: 8080
- Username: web
- Password: pass
MailHog is an email testing tool for developers.
- Port: 8025