Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
64 lines (41 loc) · 2.56 KB

File metadata and controls

64 lines (41 loc) · 2.56 KB
Copy raw file
Download raw file
Outline
Edit and raw actions

phpmyadmin - (ghcr.io/servercontainers/phpmyadmin) (+ optional tls) on debian, apache2 [x86 + arm]

maintained by ServerContainers

What is it

This Dockerfile (available as ghcr.io/servercontainers/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 ghcr.io/servercontainers/phpmyadmin

View in GitHub ServerContainers/docker-phpmyadmin

This Dockerfile is based on the ghcr.io/servercontainers/apache2-ssl-secure debian:bullseye based image.

Build & Versioning

You can specify DOCKER_REGISTRY environment variable (for example my.registry.tld) and use the build script to build the main container and it's variants for x86_64, arm64 and arm

You'll find all images tagged like d11.2-a1.18.0-6.1-p5.2.1 which means d<debian version>-a<apache version (with some esacped chars)>-p<phpmyadmin version (with some esacped chars)>. This way you can pin your installation/configuration to a certian version. or easily roll back if you experience any problems (don't forget to open a issue in that case ;D).

To build a latest tag run ./build.sh release

Changelogs

  • 2023-03-20
    • github action to build container
    • implemented ghcr.io as new registry
    • moved from MarvAmBass to ServerContainers
  • 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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.