Skip to content

Latest commit

 

History

History
83 lines (60 loc) · 2.79 KB

README.md

File metadata and controls

83 lines (60 loc) · 2.79 KB

thalesog/Adminer

Adminer

npm downloads open issues licence

Docker image for adminer.
Batteries included! 🔋

📃 About

This docker image is available as an automated build on the docker registry and along the default adminer script, we have preconfigured Dracula theme, and a generated permanentLogin key.

The following databases are supported by this docker image:

  • MySQL
  • PostgreSQL
  • SQLite
  • SimpleDB
  • ElasticSearch
  • MongoDB
  • MS SQL

Unsupported databases (TODO) :

  • Oracle
  • Firebird

🚀 Usage

Quick start with docker

$ docker run --link=mysql:mysql -d -p 9091:80 thalesog/adminer

Quick start with docker-compose

version: '3.8'

services:
  adminer:
    container_name: adminer
    image: thalesog/adminer
    ports:
      - 9091:80

The above example exposes the Adminer webinterface on port 9091, so that you can now browse to localhost:9091

This is a rather common setup following docker's conventions:

  • --link={database_container}:{alias} will link a separate database_container (MySQL, PostgreSQL, ...) to this container, thus make possible to connect to it via adminer with alias hostname
  • -d will run a detached instance in the background
  • -p {OutsidePort}:80 will bind the webserver to the given outside port
  • thalesog/adminer the name of this docker image

🍰 Contributing

Please contribute using GitHub Flow. Create a branch, add commits, and open a pull request.

📝 License

This project is under MIT license.

Developed with 💚 by Thales Ogliari 🇧🇷