Public | Automated Build

Last pushed: 6 months ago
Short Description
phpMyAdmin application for Goodrain ACP
Full Description

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.

Supported tags and Dockerfile links

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

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

Name Default Comments
MYSQL_HOST 127.0.0.1 MySQL service ip address
MYSQL_PORT 3306 MySQL service port
CFG_* null The variable name beginning with CFG_ is used to replace the php.ini file configuration
TIMEOUT 30 MySQL service check timeout
DEBUG null docker-entrypoint.sh debug switch
PAUSE null docker-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
Docker Pull Command
Owner
goodrainapps
Source Repository