mirror of
https://github.com/phpmyadmin/docker.git
synced 2026-09-24 23:49:37 -05:00
Merge remote-tracking branch 'netroby/master'
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
FROM netroby/alpine-php
|
||||
|
||||
RUN wget --no-check-certificate -c https://github.com/phpmyadmin/phpmyadmin/archive/RELEASE_4_5_2.tar.gz; \
|
||||
tar zxvf RELEASE_4_5_2.tar.gz;\
|
||||
mv phpmyadmin-RELEASE_4_5_2 /www; \
|
||||
unlink *.tar.gz
|
||||
|
||||
COPY config.inc.php /www/config.inc.php
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
ENTRYPOINT ["php", "-S", "0.0.0.0:8080", "-t", "/www/"]
|
||||
|
||||
CMD []
|
||||
@@ -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'] = '';
|
||||
@@ -0,0 +1,18 @@
|
||||
# alpine linux + php + phpmyadmin
|
||||
|
||||
Update 2015-11-06
|
||||
|
||||
Run PHPMyAdmin with alpine + php built in web server
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
First, you need to run mysql in docker, and this image need link a running mysql instance container
|
||||
|
||||
```
|
||||
docker run --name myadmin -d --link mysql_db_server:db -p 8080:8080 netroby/alpine-phpmyadmin
|
||||
```
|
||||
|
||||
Then open browser, visit http://***.***.host.ip:8080
|
||||
|
||||
You will see the phpmyadmin login page
|
||||
Reference in New Issue
Block a user