diff options
Diffstat (limited to 'Applications/phpmyadmin')
-rw-r--r-- | Applications/phpmyadmin/Dockerfile | 8 | ||||
-rw-r--r-- | Applications/phpmyadmin/config.inc.php | 13 | ||||
-rw-r--r-- | Applications/phpmyadmin/test.php | 4 |
3 files changed, 25 insertions, 0 deletions
diff --git a/Applications/phpmyadmin/Dockerfile b/Applications/phpmyadmin/Dockerfile new file mode 100644 index 0000000..50496f4 --- /dev/null +++ b/Applications/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/Applications/phpmyadmin/config.inc.php b/Applications/phpmyadmin/config.inc.php new file mode 100644 index 0000000..7458071 --- /dev/null +++ b/Applications/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/Applications/phpmyadmin/test.php b/Applications/phpmyadmin/test.php new file mode 100644 index 0000000..a7796a0 --- /dev/null +++ b/Applications/phpmyadmin/test.php @@ -0,0 +1,4 @@ +<?php +print_r($_SERVER); +print_r($_ENV); +?> |