DVL-012 Adding PerconaDB

This commit is contained in:
cytopia 2017-07-01 18:54:09 +02:00
parent 812b0eface
commit 0b609be2fe
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2
11 changed files with 72 additions and 5 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

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>
@ -317,11 +325,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 +375,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

@ -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
###