maintained by MarvAmBass
FAQ - All you need to know about the marvambass Containers
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
- 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
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