marvambass/phpmyadmin

By marvambass

Updated over 3 years ago

phpMyAdmin - (marvambass/phpmyadmin) (+ optional tls) on debian, apache2 [x86 + arm]

Image

10K+

phpmyadmin - (marvambass/phpmyadmin) (+ optional tls) on debian, apache2 [x86 + arm]

maintained by MarvAmBass

What is it

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-securedebian:10 based image.

Changelogs

  • 2021-08-27
    • complete rework
    • new inital commit
    • multiarch build

How to use

This container needs to connect to a database, so take a look at the docker-compose.yml

Environment variables and defaults

  • 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

BASEIMAGE: Environment variables and defaults
  • DISABLE_TLS

  • default: not set - if set yo any value https and the HSTS_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

Docker Pull Command

docker pull marvambass/phpmyadmin