Sign inSign up

takeyamajp/phpmyadmin

By takeyamajp

Updated almost 4 years ago

The best phpMyAdmin image

Image
2

2.2K

takeyamajp/phpmyadmin repository overview

phpmyadmin

Star this repository if it is useful for you.
Docker Stars Docker Pulls license

Image summary

FROM rockylinux:9   
MAINTAINER "Hiroki Takeyama"

ENV TIMEZONE Asia/Tokyo

ENV HOSTNAME www.example.com  
ENV FORCE_SSL true  
ENV GZIP_COMPRESSION true

ENV BASIC_AUTH false  
ENV BASIC_AUTH_USER user  
ENV BASIC_AUTH_PASSWORD password

ENV HTTPD_SERVER_ADMIN root@localhost  
ENV HTTPD_LOG true  
ENV HTTPD_LOG_LEVEL warn  
ENV HTTPD_PHP_ERROR_LOG true

ENV PMA_HOST mysql  
ENV PMA_PORT 3306  
ENV PMA_USER root  
ENV PMA_PASSWORD password

# Upload And Save Files  
VOLUME /export  
# SSL Certificates  
VOLUME /ssl_certs

EXPOSE 80  
EXPOSE 443

How to use

This container is supposed to be used as a backend of a reverse proxy server.
However, it can be simply used without the reverse proxy server.

via docker-compose
version: '3.1'  
services:  
  wordpress:  
    image: takeyamajp/phpmyadmin  
    ports:  
      - "8080:80"  
    environment:  
      FORCE_SSL: "false"  
  mysql:  
    image: takeyamajp/mysql  

Run docker-compose up -d, wait for it to initialize completely. (It takes several minutes.)
Then, access it via http://localhost:8080 or http://host-ip:8080 in your browser.

Time zone

You can use any time zone such as America/Chicago that can be used in Rocky Linux.

See below for zones.
https://www.unicode.org/cldr/charts/latest/verify/zones/en.html

Force SSL

If FORCE_SSL is true, the URL will be redirected automatically from HTTP to HTTPS protocol.

GZIP Compression

The GZIP_COMPRESSION option will save bandwidth and increase browsing speed.
Normally, It is not necessary to be changed.

Basic Authentication

Set BASIC_AUTH true if you want to use Basic Authentication.
When FORCE_SSL is true, it will be used after the protocol is redirected to HTTPS.

Tag summary

Content type

Image

Digest

sha256:efd26fe6b

Size

146.3 MB

Last updated

almost 4 years ago

docker pull takeyamajp/phpmyadmin