summaryrefslogtreecommitdiffstats
path: root/phpmyadmin
diff options
context:
space:
mode:
Diffstat (limited to 'phpmyadmin')
-rw-r--r--phpmyadmin/Dockerfile8
-rw-r--r--phpmyadmin/config.inc.php13
-rw-r--r--phpmyadmin/test.php4
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);
+?>