zaraki673 / docker-phpmyadmin

A SSL secured phpMyAdmin Docker Container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker phpMyAdmin Container (based on marvambass/phpmyadmin)

maintained by MarvAmBass

FAQ - All you need to know about the marvambass Containers

What is it

This Dockerfile (available as marvambass/phpmyadmin) gives you a completly secure phpMyAdmin.

The best is to just start this container if it's needed. And keep it stopped afterwarts.

It's based on the marvambass/nginx-ssl-php Image

View in Docker Registry marvambass/phpmyadmin

View in GitHub MarvAmBass/docker-phpmyadmin

Environment variables and defaults

  • DH_SIZE
  • default: 512 fast but a bit unsecure. if you need more security just use a higher value
  • PHPMYADMIN_MYSQL_PORT
  • default: 3306 - if you use a different mysql port change it
  • PHPMYADMIN_RELATIVE_URL_ROOT
  • default: / - you can chance that to /phpmyadmin or what you need
  • PHPMYADMIN_HSTS_HEADERS_ENABLE
  • default: not set - if set to any value the HTTP Strict Transport Security will be activated on SSL Channel
  • PHPMYADMIN_HSTS_HEADERS_ENABLE_NO_SUBDOMAINS
  • default: not set - if set together with PHPMYADMIN_HSTS_HEADERS_ENABLE and set to any value the HTTP Strict Transport Security will be deactivated on subdomains

Using the marvambass/phpmyadmin Container

First you need a running MySQL Container (you could use: marvambass/mysql).

You need to --link your mysql container to marvambass/phpmyadmin with the name mysql

docker run -d -p 443:443 --link mysql:mysql --name phpmyadmin marvambass/phpmyadmin

About

A SSL secured phpMyAdmin Docker Container

License:MIT License


Languages

Language:Shell 46.9%Language:ApacheConf 27.2%Language:PHP 25.9%