diff options
author | chris <cl@startx.fr> | 2014-06-20 17:59:49 +0200 |
---|---|---|
committer | chris <cl@startx.fr> | 2014-06-20 17:59:49 +0200 |
commit | 5973bf226ae3ab4ceca6fec1e1bdac8bf38c7db8 (patch) | |
tree | 8f53fa8cf25486d3d71c731e5838427a2e66edc0 /phpmyadmin | |
parent | bf053e970d82805da81968b1e599c52ec0ab1710 (diff) | |
download | phpmyadmin-5973bf226ae3ab4ceca6fec1e1bdac8bf38c7db8.tar.gz phpmyadmin-5973bf226ae3ab4ceca6fec1e1bdac8bf38c7db8.tar.bz2 phpmyadmin-5973bf226ae3ab4ceca6fec1e1bdac8bf38c7db8.tar.xz phpmyadmin-5973bf226ae3ab4ceca6fec1e1bdac8bf38c7db8.zip |
ajout des premières images docker des composants utilisées dans notre SI
Diffstat (limited to 'phpmyadmin')
-rw-r--r-- | phpmyadmin/Dockerfile | 8 | ||||
-rw-r--r-- | phpmyadmin/config.inc.php | 13 | ||||
-rw-r--r-- | phpmyadmin/test.php | 4 |
3 files changed, 25 insertions, 0 deletions
diff --git a/phpmyadmin/Dockerfile b/phpmyadmin/Dockerfile new file mode 100644 index 0000000..50496f4 --- /dev/null +++ b/phpmyadmin/Dockerfile @@ -0,0 +1,8 @@ + + +FROM maxexcloo/phpmyadmin:latest +MAINTAINER startx dev@startx.fr + +# ajout de la conf personnalisée pour les app startx +ADD config.inc.php /data/http/config.inc.php +ADD test.php /data/http/test.php diff --git a/phpmyadmin/config.inc.php b/phpmyadmin/config.inc.php new file mode 100644 index 0000000..7458071 --- /dev/null +++ b/phpmyadmin/config.inc.php @@ -0,0 +1,13 @@ +<?php +// fichier qui provient de l'image startx/pma +$cfg['blowfish_secret'] = 'SECRET'; +$cfg['PmaNoRelation_DisableWarning'] = true; +$i = 0; +$i++; +$cfg['Servers'][$i]['extension'] = 'mysqli'; +$cfg['Servers'][$i]['host'] = 'mariadb'; +$cfg['Servers'][$i]['controlhost'] = ''; +$cfg['Servers'][$i]['controluser'] = 'root'; +$cfg['Servers'][$i]['controlpass'] = 'secretdemerde'; + +?> diff --git a/phpmyadmin/test.php b/phpmyadmin/test.php new file mode 100644 index 0000000..a7796a0 --- /dev/null +++ b/phpmyadmin/test.php @@ -0,0 +1,4 @@ +<?php +print_r($_SERVER); +print_r($_ENV); +?> |