mirror of
https://github.com/phpmyadmin/docker.git
synced 2026-08-29 10:20:12 -05:00
+17
@@ -0,0 +1,17 @@
|
||||
FROM netroby/alpine-php
|
||||
|
||||
VOLUME /www
|
||||
RUN wget -c https://github.com/phpmyadmin/phpmyadmin/archive/RELEASE_4_5_1.tar.gz; \
|
||||
tar zxvf phpmyadmin-RELEASE_4_5_1.tar.gz;\
|
||||
mv phpmyadmin-RELEASE_4_5_1 /www; \
|
||||
unlink *.tar.gz
|
||||
|
||||
COPY config.inc.php /www/config.inc.php
|
||||
|
||||
ENV HOME /root
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
WORKDIR /root
|
||||
|
||||
ENTRYPOINT ["php", "-S", "0.0.0.0:8080", "-t", "/www/"]
|
||||
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
$cfg['blowfish_secret'] = 'xkjdkfj2x83kx';
|
||||
$i = 0;
|
||||
$i++;
|
||||
$cfg['Servers'][$i]['auth_type'] = 'cookie';
|
||||
$cfg['Servers'][$i]['host'] = 'db';
|
||||
$cfg['Servers'][$i]['connect_type'] = 'tcp';
|
||||
$cfg['Servers'][$i]['compress'] = false;
|
||||
$cfg['Servers'][$i]['AllowNoPassword'] = true;
|
||||
$cfg['UploadDir'] = '';
|
||||
$cfg['SaveDir'] = '';
|
||||
Reference in New Issue
Block a user