Check the new and still maintained version of this repo: https://github.com/ServerContainers/phpmyadmin
maintained by MarvAmBass
This Dockerfile (available as marvambass/phpmyadmin) gives you a ready to use phpmyadmin installation with optional tls.
Note: This container only supports mysql
/ mariadb
database servers.
There is no internal mysql-server available - so you need to setup a seconds container for that (take a look at docker-compose.yml
)
View in Docker Registry marvambass/phpmyadmin
View in GitHub MarvAmBass/docker-phpmyadmin
This Dockerfile is based on the marvambass/apache2-ssl-secure debian:10
based image.
- 2021-08-27
- complete rework
- new inital commit
- multiarch build
This container needs to connect to a database, so take a look at the docker-compose.yml
-
DB_HOST
-
host of mysql db
-
default:
db
-
SECRET
-
phpmyadmin
blowfish_secret
- should be a 32 character string -
default: auto generated string using:
pwgen 32 1
-
DISABLE_TLS
-
default: not set - if set yo any value
https
and theHSTS_HEADERS_*
will be disabled -
HSTS_HEADERS_ENABLE
-
default: not set - if set to any value the HTTP Strict Transport Security will be activated on SSL Channel
-
HSTS_HEADERS_ENABLE_NO_SUBDOMAINS
-
default: not set - if set together with HSTS_HEADERS_ENABLE and set to any value the HTTP Strict Transport Security will be deactivated on subdomains