Skip to content

Latest commit

 

History

History
175 lines (138 loc) · 7.24 KB

File metadata and controls

175 lines (138 loc) · 7.24 KB

Dockette / Adminer

🎁 Tiniest boxed dockerized Adminer (MySQL, PostgreSQL, SQLite, Mongo, Oracle, MSSQL) Dockerfiles. Database management in a single PHP file.

🕹 f3l1x.io | 💻 f3l1x | 🐦 @xf3l1x

Adminer


Prologue

There are few variants of this adminer image based:

  • full (mysql, pgsql, sqlite, mongo)
  • mysql (only)
  • pgsql (only)
  • mongo (only)
  • mssql (only)
  • oracle-11 / oracle-12 / oracle-19 (only)
  • dg (custom)

Features

  • Alpine Linux (full, editor, dg, mongo, mysql, postgres)
  • Debian Bookworm (mssql, oracle-11, oracle-12, oracle-19)
  • PHP 8 (concurrency via PHP cli workers)

Usage

docker run \
    --rm
    -p 8000:80
    dockette/adminer:dg

By default container is running with these settings, you can override it using environment variables.

  • MEMORY=256M (memory_limit)
  • UPLOAD=2048M (upload_max_filesize, post_max_size)
  • PORT=80 (PHP server listening port)
  • WORKERS=4 (concurrency)
docker run \
    --rm
    -p 8000:8080
    -e MEMORY=512M
    -e UPLOAD=4096M
    -e PORT=8080
    dockette/adminer:dg

Versions

Image Technologies Size Docker Hub
dockette/adminer MySQL / PostgreSQL / MongoDB / Sqlite 12mb link
dockette/adminer:full MySQL / PostgreSQL / MongoDB / Sqlite 12mb link
dockette/adminer:mysql MySQL 9mb link
dockette/adminer:pgsql PostgreSQL 8mb link
dockette/adminer:mongo MongoDB 9mb link
dockette/adminer:mssql MS SQL Server - link
dockette/adminer:dg MySQL / PostgreSQL / MongoDB / Sqlite 16mb link

dockette/adminer:mssql

Debian-based image with Microsoft ODBC Driver 18 and PHP sqlsrv / pdo_sqlsrv extensions.

docker run \
    --rm \
    -p 8080:80 \
    dockette/adminer:mssql

By default, TrustServerCertificate is set to yes so the image works out of the box with self-signed certificates (common in development). You can control encryption behavior via environment variables:

Variable Description Default
ADMINER_PLUGIN_MSSQL_ENCRYPT Set to 0 to disable the encryption plugin enabled
ADMINER_MSSQL_ENCRYPT yes, no, or strict not set
ADMINER_MSSQL_TRUST_CERT yes or no yes

dockette/adminer:dg

Customization for the best database management tool written in PHP, Adminer

You should take a look to the official github profile (https://github.com/dg/adminer-custom).

Adminer DG

Themes

You can apply a theme by setting the ADMINER_THEME environment variable:

docker run \
    --rm
    -p 8000:80
    -e ADMINER_THEME=dracula
    dockette/adminer:full

If the specified theme is not found, the container will list all available themes.

Available Themes

default
adminer-dark
brade
bueltge
dracula
esterka
flat
galkaev
haeckel
hever
konya
lavender-light
lucas-sandery
mancave
mvt
nette
ng9
nicu
pappu687
paranoiq
pepa-linha
pokorny
price
rmsoft
rmsoft_blue
rmsoft_blue-dark
win98

Upgrade

Upgrade Adminer and Adminer Editor versions to X.Y.Z

ADMINER_VERSION=4.8.1 make update-versions

Maintenance

See how to contribute to this package.