2016-08-22 05:01:34 +02:00
|
|
|
FROM phpmyadmin/phpmyadmin
|
|
|
|
|
2018-03-16 14:09:15 +01:00
|
|
|
LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>"
|
2016-08-22 05:01:34 +02:00
|
|
|
|
|
|
|
# Add volume for sessions to allow session persistence
|
|
|
|
VOLUME /sessions
|
|
|
|
|
2019-11-30 11:26:16 +01:00
|
|
|
RUN echo '' >> /usr/local/etc/php/conf.d/php-phpmyadmin.ini \
|
|
|
|
&& echo '[PHP]' >> /usr/local/etc/php/conf.d/php-phpmyadmin.ini \
|
|
|
|
&& echo 'post_max_size = 2G' >> /usr/local/etc/php/conf.d/php-phpmyadmin.ini \
|
|
|
|
&& echo 'upload_max_filesize = 2G' >> /usr/local/etc/php/conf.d/php-phpmyadmin.ini
|
|
|
|
|
2016-08-22 05:01:34 +02:00
|
|
|
# We expose phpMyAdmin on port 80
|
|
|
|
EXPOSE 80
|