Sign inSign up

goodrainapps/phpmyadmin

By goodrainapps

•Updated over 9 years ago

phpMyAdmin application for Goodrain ACP

Image
0

507

goodrainapps/phpmyadmin repository overview

⁠phpMyAdmin for ACP⁠

phpMyAdmin is a free software tool written in PHP⁠, intended to handle the administration of MySQL⁠ over the Web. phpMyAdmin supports a wide range of operations on MySQL and MariaDB. Frequently used operations (managing databases, tables, columns, relations, indexes, users, permissions, etc) can be performed via the user interface, while you still have the ability to directly execute any SQL statement.

phpMyAdmin

4.7.1 , 4.7 latest Dockerfile⁠

⁠About this image

This images base alpine system ,can be installed in Goodrain ACM⁠. Fully compatible with the Goodrain ACP⁠ platform.

⁠How to use this image

⁠Via ACM install

deploy to ACP

⁠Via docker

⁠Installation

Automated builds of the image are available on hub.docker.com⁠ and is the recommended method of installation.

docker pull goodrainapps/phpmyadmin

Alternately you can build the image yourself.

git clone https://github.com/goodrain-apps/phpmyadmin.git
cd phpmyadmin
make
⁠Quick Start

Start mysql service,then use --link with phpmyadmin.

# 1.run mysql service
docker run -d --name mysql \
-e MYSQL_ROOT_PASSWORD=pass4word mysql

# 2.run phpmyadmin
docker run -d --name phpmyadmin \
--link mysql:db \
-e MYSQL_HOST=db \
-e MYSQL_PORT=3306 \
goodrainapps/phpmyadmin

⁠Environment variables

NameDefaultComments
MYSQL_HOST127.0.0.1MySQL service ip address
MYSQL_PORT3306MySQL service port
CFG_*nullThe variable name beginning with CFG_ is used to replace the php.ini file configuration
TIMEOUT30MySQL service check timeout
DEBUGnulldocker-entrypoint.sh debug switch
PAUSEnulldocker-entrypoint.sh pause for debug

⁠Modify PHP config file at Launch

This image supports modifying the php.ini configuration item when the container is started.

The following settings are set up by default:

export CFG_UPLOAD_MAX_FILESIZE=${CFG_UPLOAD_MAX_FILESIZE:-128M}
export CFG_POST_MAX_SIZE=${CFG_POST_MAX_SIZE:-128M}

You can specify the configuration when starting the container, such as setting the upload_max_filesize,environment variable name must begin with CFG_

docker run -d --name phpmyadmin \
--link mysql:db \
-e MYSQL_HOST=db \
-e MYSQL_PORT=3306 \
-e CFG_POST_MAX_SIZE=256M \
-e CFG_UPLOAD_MAX_FILESIZE=256M \
-e DEBUG=1 \
goodrainapps/phpmyadmin

Tag summary

Content type

Image

Digest

Size

24.5 MB

Last updated

over 9 years ago

docker pull goodrainapps/phpmyadmin