Skip to content

Feature Request: Add MongoDB (and other missing drivers) support to the Docker image #245

Description

@Master13011

Hi,

First of all, thank you for maintaining this Docker image for Adminer.

Currently, the image includes built-in support for several database drivers like PostgreSQL, SQLite, MySQL, and SQL Server. However, Adminer also supports a wider range of databases through driver plugins, including MongoDB.

Right now, the Dockerfile installs database extensions using this block:

RUN	set -x \
&&	apk add --no-cache --virtual .build-deps \
	postgresql-dev \
	sqlite-dev \
	unixodbc-dev \
	freetds-dev \
&&	docker-php-ext-configure pdo_odbc --with-pdo-odbc=unixODBC,/usr \
&&	docker-php-ext-install \
	mysqli \
	pdo_pgsql \
	pdo_sqlite \
	pdo_odbc \
	pdo_dblib \

It would be a great addition to include MongoDB support out of the box. Other community images, such as dockette/adminer (specifically their adminer-mongo variant), achieve this by installing the PHP MongoDB extension.

Proposed Enhancement

Could you consider extending the image to enable support for:

  1. MongoDB (which requires installing the mongodb ).
  2. Other driver plugins listed in the official Adminer documentation (such as Elasticsearch, Redis, ClickHouse, or Firebird).

This enhancement would make this repository much more versatile for developers working with modern multi-database stacks.

Thank you for your time and considerations!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions