Merge pull request #89 from cytopia/DVL-012

DVL-012 Adding PerconaDB
This commit is contained in:
cytopia 2017-07-02 10:54:40 +02:00 committed by GitHub
commit d4d3e1223d
18 changed files with 135 additions and 50 deletions

3
.gitignore vendored
View File

@ -31,6 +31,9 @@
/cfg/mariadb-10.0/*.cnf
/cfg/mariadb-10.1/*.cnf
/cfg/mariadb-10.2/*.cnf
/cfg/percona-5.5/*.cnf
/cfg/percona-5.6/*.cnf
/cfg/percona-5.7/*.cnf
# Ignore custom PHP-FPM configs
/cfg/php-fpm-5.4/*.ini

View File

@ -131,6 +131,31 @@ env:
- S1=PHP V1=php-fpm-7.1 S2=MYSQL V2=mariadb-10.3
- S1=PHP V1=php-fpm-7.2 S2=MYSQL V2=mariadb-10.3
- S1=PHP V1=hhvm-latest S2=MYSQL V2=mariadb-10.3
# PHP vs PerconaDB 5.5
- S1=PHP V1=php-fpm-5.4 S2=MYSQL V2=percona-5.5
- S1=PHP V1=php-fpm-5.5 S2=MYSQL V2=percona-5.5
- S1=PHP V1=php-fpm-5.6 S2=MYSQL V2=percona-5.5
- S1=PHP V1=php-fpm-7.0 S2=MYSQL V2=percona-5.5
- S1=PHP V1=php-fpm-7.1 S2=MYSQL V2=percona-5.5
- S1=PHP V1=php-fpm-7.2 S2=MYSQL V2=percona-5.5
- S1=PHP V1=hhvm-latest S2=MYSQL V2=percona-5.5
# PHP vs PerconaDB 5.6
- S1=PHP V1=php-fpm-5.4 S2=MYSQL V2=percona-5.6
- S1=PHP V1=php-fpm-5.5 S2=MYSQL V2=percona-5.6
- S1=PHP V1=php-fpm-5.6 S2=MYSQL V2=percona-5.6
- S1=PHP V1=php-fpm-7.0 S2=MYSQL V2=percona-5.6
- S1=PHP V1=php-fpm-7.1 S2=MYSQL V2=percona-5.6
- S1=PHP V1=php-fpm-7.2 S2=MYSQL V2=percona-5.6
- S1=PHP V1=hhvm-latest S2=MYSQL V2=percona-5.6
# PHP vs PerconaDB 5.7
- S1=PHP V1=php-fpm-5.4 S2=MYSQL V2=percona-5.7
- S1=PHP V1=php-fpm-5.5 S2=MYSQL V2=percona-5.7
- S1=PHP V1=php-fpm-5.6 S2=MYSQL V2=percona-5.7
- S1=PHP V1=php-fpm-7.0 S2=MYSQL V2=percona-5.7
- S1=PHP V1=php-fpm-7.1 S2=MYSQL V2=percona-5.7
- S1=PHP V1=php-fpm-7.2 S2=MYSQL V2=percona-5.7
- S1=PHP V1=hhvm-latest S2=MYSQL V2=percona-5.7
###
### PHP vs PostgreSQL
@ -193,7 +218,7 @@ before_install:
- max=100; i=0; while [ $i -lt $max ]; do if sudo apt-get update; then break; else i=$((i+1)); fi done
- max=100; i=0; while [ $i -lt $max ]; do if sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce; then break; else i=$((i+1)); fi done
# Get newer docker-compose version
- curl -L --retry 100 --retry-max-time 0 https://github.com/docker/compose/releases/download/1.13.0/docker-compose-`uname -s`-`uname -m` > docker-compose
- max=100; i=0; while [ $i -lt $max ]; do if curl -L --retry 100 --retry-max-time 0 https://github.com/docker/compose/releases/download/1.13.0/docker-compose-`uname -s`-`uname -m` > docker-compose; then break; else i=$((i+1)); fi done
- chmod +x docker-compose
- sudo mv -f docker-compose /usr/local/bin
# List versions

View File

@ -66,6 +66,7 @@ Every single attachable container comes with many different versions. In order t
<th>PHP</th>
<th>MySQL</th>
<th>MariaDB</th>
<th>Percona</th>
<th>PgSQL</th>
<th>Redis</th>
<th>Memcached</th>
@ -79,6 +80,7 @@ Every single attachable container comes with many different versions. In order t
<td><a target="_blank" title="PHP 5.4" href="https://github.com/cytopia/docker-php-fpm-5.4">5.4</a></td>
<td><a target="_blank" title="MySQL 5.5" href="https://github.com/cytopia/docker-mysql-5.5">5.5</a></td>
<td><a target="_blank" title="MariaDB 5.5" href="https://github.com/cytopia/docker-mariadb-5.5">5.5</a></td>
<td><a target="_blank" title="PerconaDB 5.5" href="https://github.com/cytopia/docker-percona-5.5">5.5</a></td>
<td><a target="_blank" title="PgSQL 9.1" href="https://github.com/docker-library/postgres">9.1</a></td>
<td><a target="_blank" title="Redis 2.8" href="https://github.com/docker-library/redis">2.8</a></td>
<td><a target="_blank" title="Memcached 1.4.21" href="https://github.com/docker-library/memcached">1.4.21</a></td>
@ -90,6 +92,7 @@ Every single attachable container comes with many different versions. In order t
<td><a target="_blank" title="PHP 5.5" href="https://github.com/cytopia/docker-php-fpm-5.5">5.5</a></td>
<td><a target="_blank" title="MySQL 5.6" href="https://github.com/cytopia/docker-mysql-5.6">5.6</a></td>
<td><a target="_blank" title="MariaDB 10.0" href="https://github.com/cytopia/docker-mariadb-10.0">10.0</a></td>
<td><a target="_blank" title="PerconaDB 5.6" href="https://github.com/cytopia/docker-percona-5.6">5.6</a></td>
<td><a target="_blank" title="PgSQL 9.2" href="https://github.com/docker-library/postgres">9.2</a></td>
<td><a target="_blank" title="Redis 3.0" href="https://github.com/docker-library/redis">3.0</a></td>
<td><a target="_blank" title="Memcached 1.4.22" href="https://github.com/docker-library/memcached">1.4.22</a></td>
@ -101,6 +104,7 @@ Every single attachable container comes with many different versions. In order t
<td><a target="_blank" title="PHP 5.6" href="https://github.com/cytopia/docker-php-fpm-5.6">5.6</a></td>
<td><a target="_blank" title="MySQL 5.7" href="https://github.com/cytopia/docker-mysql-5.7">5.7</a></td>
<td><a target="_blank" title="MariaDB 10.1" href="https://github.com/cytopia/docker-mariadb-10.1">10.1</a></td>
<td><a target="_blank" title="PerconaDB 5.7" href="https://github.com/cytopia/docker-percona-5.7">5.7</a></td>
<td><a target="_blank" title="PgSQL 9.3" href="https://github.com/docker-library/postgres">9.3</a></td>
<td><a target="_blank" title="Redis 3.2" href="https://github.com/docker-library/redis">3.2</a></td>
<td><a target="_blank" title="Memcached 1.4.23" href="https://github.com/docker-library/memcached">1.4.23</a></td>
@ -112,6 +116,7 @@ Every single attachable container comes with many different versions. In order t
<td><a target="_blank" title="PHP 7.0" href="https://github.com/cytopia/docker-php-fpm-7.0">7.0</a></td>
<td><a target="_blank" title="MySQL 8.0" href="https://github.com/cytopia/docker-mysql-8.0">8.0</a></td>
<td><a target="_blank" title="MariaDB 10.2" href="https://github.com/cytopia/docker-mariadb-10.2">10.2</a></td>
<td></td>
<td><a target="_blank" title="PgSQL 9.4" href="https://github.com/docker-library/postgres">9.4</a></td>
<td></td>
<td><a target="_blank" title="Memcached 1.4.23" href="https://github.com/docker-library/memcached">1.4.24</a></td>
@ -123,6 +128,7 @@ Every single attachable container comes with many different versions. In order t
<td><a target="_blank" title="PHP 7.1" href="https://github.com/cytopia/docker-php-fpm-7.1">7.1</a></td>
<td></td>
<td><a target="_blank" title="MariaDB 10.3" href="https://github.com/cytopia/docker-mariadb-10.3">10.3</a></td>
<td></td>
<td><a target="_blank" title="PgSQL 9.5" href="https://github.com/docker-library/postgres">9.5</a></td>
<td></td>
<td>...</td>
@ -134,6 +140,7 @@ Every single attachable container comes with many different versions. In order t
<td><a target="_blank" title="PHP 7.2" href="https://github.com/cytopia/docker-php-fpm-7.2">7.2</a></td>
<td></td>
<td></td>
<td></td>
<td><a target="_blank" title="PgSQL 9.6" href="https://github.com/docker-library/postgres">9.6</a></td>
<td></td>
<td><a target="_blank" title="Memcached latest" href="https://github.com/docker-library/memcached">1.4.36</a></td>
@ -147,6 +154,7 @@ Every single attachable container comes with many different versions. In order t
<td></td>
<td></td>
<td></td>
<td></td>
<td><a target="_blank" title="Memcached latest" href="https://github.com/docker-library/memcached">latest</a></td>
<td></td>
</tr>
@ -214,7 +222,21 @@ Require additional tools? Have a look at [Hacking](docs/Hacking.md) for informat
The devilbox is a development stack, so it is made sure that a lot of PHP modules are available out of the box in order to work with many different frameworks.
*apc, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, intl, json, ldap, libxml, magickwand, mbstring, mcrypt, memcache, memcached, mhash, mongodb, msgpack, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, readline, recode, redis, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib*
> *apc, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, intl, json, ldap, libxml, magickwand, mbstring, mcrypt, memcache, memcached, mhash, mongodb, msgpack, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, readline, recode, redis, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib*
#### Supported Frameworks
As far as tested there are no limitations and you can use any Framework or CMS just as you would on your live environment. Below are a few examples of extensively tested Frameworks and CMS:
[![CakePHP](docs/img/logos/cake.png)](https://cakephp.org)
[![Drupal](docs/img/logos/drupal.png)](https://www.drupal.org)
[![Laravel](docs/img/logos/laravel.png)](https://laravel.com)
[![Phalcon](docs/img/logos/phalcon.png)](https://phalconphp.com)
[![Symfony](docs/img/logos/symfony.png)](https://symfony.com)
[![Wordpress](docs/img/logos/wordpress.png)](https://wordpress.org)
[![Yii](docs/img/logos/yii.png)](http://www.yiiframework.com)
[![Zend](docs/img/logos/zend.png)](https://framework.zend.com)
## Documentation
@ -317,11 +339,12 @@ The devilbox documentation consists of the following main sections.
1. [Introduction](docs/Examples.md#1-introduction)
2. [Setup CakePHP](docs/Examples.md#2-setup-cakephp)
3. [Setup Drupal](docs/Examples.md#3-setup-drupal)
4. [Setup Phalcon](docs/Examples.md#4-setup-phalcon)
5. [Setup Symfony](docs/Examples.md#5-setup-symfony)
6. [Setup Wordpress](docs/Examples.md#6-setup-wordpress)
7. [Setup Yii](docs/Examples.md#7-setup-yii)
8. [Setup Zend](docs/Examples.md#8-setup-zend)
4. [Setup Laravel](docs/Examples.md#4-setup-laravel)
5. [Setup Phalcon](docs/Examples.md#5-setup-phalcon)
6. [Setup Symfony](docs/Examples.md#6-setup-symfony)
7. [Setup Wordpress](docs/Examples.md#7-setup-wordpress)
8. [Setup Yii](docs/Examples.md#8-setup-yii)
9. [Setup Zend](docs/Examples.md#9-setup-zend)
11. **[Technical](docs/Technical.md)**
1. [Networking](docs/Technical.md#1-networking)
2. [Ports and forwarding](docs/Technical.md#2-ports-and-forwarding)
@ -366,6 +389,9 @@ In order to make sure every combination works with each other, the devilbox inte
| [![Build Status](https://travis-ci.org/cytopia/docker-mariadb-10.1.svg?branch=master)](https://travis-ci.org/cytopia/docker-mariadb-10.1) [MariaDB 10.1](https://github.com/cytopia/docker-mariadb-10.1) | | |
| [![Build Status](https://travis-ci.org/cytopia/docker-mariadb-10.2.svg?branch=master)](https://travis-ci.org/cytopia/docker-mariadb-10.2) [MariaDB 10.2](https://github.com/cytopia/docker-mariadb-10.2) | | |
| [![Build Status](https://travis-ci.org/cytopia/docker-mariadb-10.3.svg?branch=master)](https://travis-ci.org/cytopia/docker-mariadb-10.3) [MariaDB 10.3](https://github.com/cytopia/docker-mariadb-10.3) | | |
| [![Build Status](https://travis-ci.org/cytopia/docker-percona-5.5.svg?branch=master)](https://travis-ci.org/cytopia/docker-percona-5.5) [PerconaDB 5.5](https://github.com/cytopia/docker-percona-5.5) | | |
| [![Build Status](https://travis-ci.org/cytopia/docker-percona-5.6.svg?branch=master)](https://travis-ci.org/cytopia/docker-percona-5.6) [PerconaDB 5.6](https://github.com/cytopia/docker-percona-5.6) | | |
| [![Build Status](https://travis-ci.org/cytopia/docker-percona-5.7.svg?branch=master)](https://travis-ci.org/cytopia/docker-percona-5.7) [PerconaDB 5.7](https://github.com/cytopia/docker-percona-5.7) | | |
#### NoSQL stack (optional)

0
cfg/percona-5.5/.keepme Normal file
View File

View File

@ -0,0 +1,5 @@
[mysqld]
;key_buffer_size=16M
[mysqldump]
;quick

0
cfg/percona-5.6/.keepme Normal file
View File

View File

@ -0,0 +1,5 @@
[mysqld]
;key_buffer_size=16M
[mysqldump]
;quick

0
cfg/percona-5.7/.keepme Normal file
View File

View File

@ -0,0 +1,5 @@
[mysqld]
;key_buffer_size=16M
[mysqldump]
;quick

View File

@ -120,6 +120,9 @@ cfg/
mysql-5.6/
mysql-5.7/
mysql-8.0/
percona-5.5/
percona-5.6/
percona-5.7/
php-fpm-5.4/
php-fpm-5.5/
php-fpm-5.6/
@ -431,6 +434,9 @@ drwxrwxr-x 6 48 48 4096 Jun 21 08:47 mysql-5.5/
drwxrwxr-x 6 48 48 4096 Jun 21 08:47 mysql-5.6/
drwxrwxr-x 6 48 48 4096 Jun 21 08:47 mysql-5.7/
drwxrwxr-x 6 48 48 4096 Jun 21 08:47 mysql-8.0/
drwxrwxr-x 6 48 48 4096 Jun 21 08:47 percona-5.5/
drwxrwxr-x 6 48 48 4096 Jun 21 08:47 percona-5.6/
drwxrwxr-x 6 48 48 4096 Jun 21 08:47 percona-5.7/
```
##### 4.4.6 my.cnf
@ -447,6 +453,9 @@ drwxrwxr-x 2 cytopia 4096 Jun 13 13:18 mysql-5.5/
drwxrwxr-x 2 cytopia 4096 Jun 1 08:44 mysql-5.6/
drwxrwxr-x 2 cytopia 4096 Jun 1 08:44 mysql-5.7/
drwxrwxr-x 2 cytopia 4096 Jun 1 08:44 mysql-8.0/
drwxrwxr-x 2 cytopia 4096 Jun 1 08:44 percona-5.5/
drwxrwxr-x 2 cytopia 4096 Jun 1 08:44 percona-5.6/
drwxrwxr-x 2 cytopia 4096 Jun 1 08:44 percona-5.7/
```
Each of the above folders will hold an example configuration file named `devilbox-custom.cnf-example` which shows some example settings but will **not have** any effect yet. Only files ending by **`.cnf`** will be sourced and applied, so you must copy it (or create a new file) to something that ends by `*.cnf`.

View File

@ -186,7 +186,7 @@ It will be ready in six simple steps:
3. Install Laravel via `laravel`
4. Symlink public directory
5. Setup DNS record
6. Visit http://my-phalcon.local in your browser
6. Visit http://my-laravel.local in your browser
```shell
# 1. Enter the PHP container

View File

@ -181,11 +181,12 @@ To quickly find setup instructions for your framework of choice head over to **[
> 1. [Introduction](Examples.md#1-introduction)
> 2. [Setup CakePHP](Examples.md#2-setup-cakephp)
> 3. [Setup Drupal](Examples.md#3-setup-drupal)
> 4. [Setup Phalcon](Examples.md#4-setup-phalcon)
> 5. [Setup Symfony](Examples.md#5-setup-symfony)
> 6. [Setup Wordpress](Examples.md#6-setup-wordpress)
> 7. [Setup Yii](Examples.md#7-setup-yii)
> 8. [Setup Zend](Examples.md#8-setup-zend)
> 4. [Setup Laravel](Examples.md#4-setup-laravel)
> 5. [Setup Phalcon](Examples.md#5-setup-phalcon)
> 6. [Setup Symfony](Examples.md#6-setup-symfony)
> 7. [Setup Wordpress](Examples.md#7-setup-wordpress)
> 8. [Setup Yii](Examples.md#8-setup-yii)
> 9. [Setup Zend](Examples.md#9-setup-zend)
## 6. Enter the PHP Docker container

View File

@ -159,7 +159,7 @@ Have a look at youtube to see some the features in action.
The devilbox is a development stack, so it is made sure that a lot of PHP modules are available out of the box in order to work with many different frameworks.
*apc, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, intl, json, ldap, libxml, magickwand, mbstring, mcrypt, memcache, memcached, mhash, mongodb, msgpack, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, readline, recode, redis, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib*
> *apc, apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, intl, json, ldap, libxml, magickwand, mbstring, mcrypt, memcache, memcached, mhash, mongodb, msgpack, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, readline, recode, redis, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, uploadprogress, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib*
There will however be slight differences between the versions and especially with HHVM. To see the exact bundled modules for each version visit the corresponding docker repositories on Github:
@ -176,10 +176,13 @@ There will however be slight differences between the versions and especially wit
As far as tested there are no limitations and you can use any Framework or CMS just as you would on your live environment. Below are a few examples of extensively tested Frameworks and CMS:
![CakePHP](img/logos/cake.png)
![Drupal](img/logos/drupal.png)
![Phalcon](img/logos/phalcon.png)
![Wordpress](img/logos/wordpress.png)
![Yii](img/logos/yii.png)
[![CakePHP](img/logos/cake.png)](https://cakephp.org)
[![Drupal](img/logos/drupal.png)](https://www.drupal.org)
[![Laravel](img/logos/laravel.png)](https://laravel.com)
[![Phalcon](img/logos/phalcon.png)](https://phalconphp.com)
[![Symfony](img/logos/symfony.png)](https://symfony.com)
[![Wordpress](img/logos/wordpress.png)](https://wordpress.org)
[![Yii](img/logos/yii.png)](http://www.yiiframework.com)
[![Zend](img/logos/zend.png)](https://framework.zend.com)
Have a look at [Examples](Examples.md) for how to set them up.
Have a look at **[Examples](Examples.md)** for how to set them up on the devilbox.

View File

@ -32,16 +32,16 @@ It is best to use the hostnames and not to rely on the ip addresses as they migh
> E.g.: When you want to setup a MySQL database connection use `mysql` or `127.0.0.1` as the hostname.
| Container | Container name | Hostname | IP Address |
|-----------------|-----------------|-----------|----------------|
| DNS | bind | bind | 172.16.238.100 |
| PHP / HHVM | php | php | 172.16.238.10 |
| Apache / Nginx | http | http | 172.16.238.11 |
| MySQL / MariaDB | mysql | mysql | 172.16.238.12 |
| PostgreSQL | pgsql | pgsql | 172.16.238.13 |
| Redis | redis | redis | 172.16.238.14 |
| Memcached | memcd | memcd | 172.16.238.15 |
| MongoDB | mongo | mongo | 172.16.238.16 |
| Container | Container name | Hostname | IP Address |
|-----------------------------|-----------------|-----------|----------------|
| DNS | bind | bind | 172.16.238.100 |
| PHP / HHVM | php | php | 172.16.238.10 |
| Apache / Nginx | http | http | 172.16.238.11 |
| MySQL / MariaDB / PerconaDB | mysql | mysql | 172.16.238.12 |
| PostgreSQL | pgsql | pgsql | 172.16.238.13 |
| Redis | redis | redis | 172.16.238.14 |
| Memcached | memcd | memcd | 172.16.238.15 |
| MongoDB | mongo | mongo | 172.16.238.16 |
## 2. Ports and forwarding
@ -63,16 +63,16 @@ The PHP container is using [socat](https://linux.die.net/man/1/socat) to
The following container can be reached from within the PHP container via the following methods:
| Container | Hostname | IP Address | IP Address | Port |
|-----------------|-----------|----------------|------------|-------|
| DNS | bind | 172.16.238.100 | - | 53 |
| PHP / HHVM | php | 172.16.238.10 | - | 9000 |
| Apache / Nginx | http | 172.16.238.11 | - | 80 |
| MySQL / MariaDB | mysql | 172.16.238.12 | 127.0.0.1 | 3306 |
| PostgreSQL | pgsql | 172.16.238.13 | 127.0.0.1 | 5432 |
| Redis | redis | 172.16.238.14 | 127.0.0.1 | 6379 |
| Memcached | memcd | 172.16.238.15 | 127.0.0.1 | 11211 |
| MongoDB | mongo | 172.16.238.16 | 127.0.0.1 | 27017 |
| Container | Hostname | IP Address | IP Address | Port |
|-----------------------------|-----------|----------------|------------|-------|
| DNS | bind | 172.16.238.100 | - | 53 |
| PHP / HHVM | php | 172.16.238.10 | - | 9000 |
| Apache / Nginx | http | 172.16.238.11 | - | 80 |
| MySQL / MariaDB / PerconaDB | mysql | 172.16.238.12 | 127.0.0.1 | 3306 |
| PostgreSQL | pgsql | 172.16.238.13 | 127.0.0.1 | 5432 |
| Redis | redis | 172.16.238.14 | 127.0.0.1 | 6379 |
| Memcached | memcd | 172.16.238.15 | 127.0.0.1 | 11211 |
| MongoDB | mongo | 172.16.238.16 | 127.0.0.1 | 27017 |
#### 2.2 Docker Host
@ -86,16 +86,16 @@ The docker host (your computer) does exactly the same as the `php` container.
The following container can be reached from the Docker host via the following methods:
| Container | IP Address | Port |
|-----------------|------------|-------|
| DNS | 127.0.0.1 | 1053 |
| PHP / HHVM | - | 9000 |
| Apache / Nginx | 127.0.0.1 | 80 |
| MySQL / MariaDB | 127.0.0.1 | 3306 |
| PostgreSQL | 127.0.0.1 | 5432 |
| Redis | 127.0.0.1 | 6379 |
| Memcached | 127.0.0.1 | 11211 |
| MongoDB | 127.0.0.1 | 27017 |
| Container | IP Address | Port |
|-----------------------------|------------|-------|
| DNS | 127.0.0.1 | 1053 |
| PHP / HHVM | - | 9000 |
| Apache / Nginx | 127.0.0.1 | 80 |
| MySQL / MariaDB / PerconaDB | 127.0.0.1 | 3306 |
| PostgreSQL | 127.0.0.1 | 5432 |
| Redis | 127.0.0.1 | 6379 |
| Memcached | 127.0.0.1 | 11211 |
| MongoDB | 127.0.0.1 | 27017 |
## 3. Works the same on Host and PHP Container

BIN
docs/img/logos/laravel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
docs/img/logos/symfony.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
docs/img/logos/zend.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -143,6 +143,9 @@ HTTPD_SERVER=nginx-stable
MYSQL_SERVER=mariadb-10.1
#MYSQL_SERVER=mariadb-10.2
#MYSQL_SERVER=mariadb-10.3
#MYSQL_SERVER=percona-5.5
#MYSQL_SERVER=percona-5.6
#MYSQL_SERVER=percona-5.7
###