Compare commits

...
11 Commits
Author SHA1 Message Date
Michal Čihař 7d6f729bc6 Fix PHP configuration name
Fixes #32

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-10 12:34:58 +02:00
Michal Čihař 593d7f5f96 Include PHP modules for bz2 and zip
Fixes #33

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-10 12:34:01 +02:00
Michal Čihař ae243b8077 Add test for sessions after shutdown (issue #32)
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-06 10:16:08 +02:00
Michal Čihař 96e3c94c6b Try testing docker compose as well
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-06 10:10:28 +02:00
Michal Čihař 23cb076766 Use persistent volume for sessions
Issue #32

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-06 10:03:35 +02:00
Michal Čihař 15ca16c9d0 Change deps to php5
We would really prefer php7, but it's not there and php packages got
renamed to php5

Issue #31

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-27 13:48:21 +02:00
Michal Čihař 12997cea47 Document where bug reports on phpMyAdmin should go
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-27 09:59:50 +02:00
Michal Čihař 249e10decc Add comment why is there edge
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-20 08:34:17 +02:00
Michal Čihař 6dd6b90902 Base on alpine:edge to get DNS fixes
See https://twitter.com/thockin/status/704909611279781888 and
https://github.com/gliderlabs/docker-alpine/issues/8. This will be fixed
in 3.4, so at that point we can switch back to using stable.

Fixes #23 (DNS issues)
Fixes #27 (Kubernetes support)

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-20 08:31:53 +02:00
Michal Čihař 4893806cde More links to docker hub
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-20 08:31:11 +02:00
Michal Čihař f313ce3a84 Add docker badge
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-20 08:24:42 +02:00
6 changed files with 23 additions and 3 deletions
+4
View File
@@ -0,0 +1,4 @@
This repository contains only Docker integration of phpMyAdmin.
Please do not report bugs in phpMyAdmin itself here, use
<https://github.com/phpmyadmin/phpmyadmin/issues> instead.
+5
View File
@@ -33,4 +33,9 @@ script:
- docker-compose up -d
- docker ps -a
- curl http://127.0.0.1:8080/ | grep -q input_password
- curl --cookie-jar /tmp/cj --location -d pma_servername=db -d pma_username=root -d pma_password=my-secret-pw -d server=1 http://127.0.0.1:8080/ | grep -r 'db via TCP'
- docker-compose stop
# Test session survives shutdown
- docker-compose up -d
- curl --cookie-jar /tmp/cj --location http://127.0.0.1:8080/ | grep -r 'db via TCP'
- docker-compose stop
+5 -2
View File
@@ -1,6 +1,7 @@
FROM alpine
# Switch back to stable once 3.4 is out
FROM alpine:edge
RUN apk add --no-cache php-cli php-mysqli php-ctype php-xml php-gd php-zlib php-openssl php-curl php-opcache php-json php-mcrypt curl
RUN apk add --no-cache php5-cli php5-mysqli php5-ctype php5-xml php5-gd php5-zlib php5-bz2 php5-zip php5-openssl php5-curl php5-opcache php5-json php5-mcrypt curl
RUN curl --location https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-all-languages.tar.gz | tar xzf - \
&& mv phpMyAdmin* /www \
@@ -10,6 +11,8 @@ COPY config.inc.php /www/
COPY run.sh /run.sh
RUN chmod u+rwx /run.sh
VOLUME /sessions
EXPOSE 80
ENV PHP_UPLOAD_MAX_FILESIZE=64M \
+5
View File
@@ -3,6 +3,9 @@
Run phpMyAdmin with Alpine and PHP built in web server.
[![Build Status](https://travis-ci.org/phpmyadmin/docker.svg?branch=master)](https://travis-ci.org/phpmyadmin/docker)
[![Docker Pulls](https://img.shields.io/docker/pulls/phpmyadmin/phpmyadmin.svg)][hub]
[![Docker Stars](https://img.shields.io/docker/stars/phpmyadmin/phpmyadmin.svg)][hub]
All following examples will bring you phpMyAdmin on `http://localhost:8080`
where you can enjoy your happy MySQL administration.
@@ -60,3 +63,5 @@ Set the variable ``PMA_ABSOLUTE_URI`` to the fully-qualified path (``https://pma
* ``PHP_MAX_INPUT_VARS`` - define max_input_vars PHP setting
For more detailed documentation see http://docs.phpmyadmin.net/en/latest/setup.html#installing-using-docker
[hub]: https://hub.docker.com/r/phpmyadmin/phpmyadmin/
+2
View File
@@ -6,3 +6,5 @@ phpmyadmin:
restart: always
ports:
- 8080:80
volumes:
- /sessions
Regular → Executable
+2 -1
View File
@@ -11,4 +11,5 @@ fi
exec php -S 0.0.0.0:80 -t /www/ \
-d upload_max_filesize=$PHP_UPLOAD_MAX_FILESIZE \
-d post_max_size=$PHP_UPLOAD_MAX_FILESIZE \
-d max_input_vars=$PHP_MAX_INPUT_VARS
-d max_input_vars=$PHP_MAX_INPUT_VARS \
-d session.save_path=/sessions