Giter Club home page Giter Club logo

adminer-docker's Introduction

Docker Adminer with env login

Adminer docker image with extended env variables for autologin.

Docker hub: http://hub.docker.com/r/michalhosna/adminer

Exapmle:

version: '2.4'

services:
    adminer:
        image: michalhosna/adminer
        ports:
            - 8080:8080
        environment:
            ADMINER_DB: adminer
            ADMINER_DRIVER: pgsql
            ADMINER_PASSWORD: adminer
            ADMINER_SERVER: postgres
            ADMINER_USERNAME: adminer
            ADMINER_AUTOLOGIN: 1
            ADMINER_NAME: This will be in the title!


    postgres:
        image: postgres:11-alpine
        restart: on-failure
        environment:
            POSTGRES_DB: adminer
            POSTGRES_USER: adminer
            POSTGRES_PASSWORD: adminer

Tags

michalhosna/adminer:4.7.7-en_v1

Guide

You can preffil any/all/none of the environment variables. If you prefill all environment variables including ADMINER_AUTOLOGIN, user will be autologed and won't see the login screen at all. If you prefill only some variables, user will be presented with form with prefiled (and disabled) fields from env vars.

Environment Variables

ADMINER_DB, ADMINER_PASSWORD, ADMINER_SERVER, ADMINER_USERNAME

I hope those speak for themselves

ADMINER_DRIVER

Value from driver select

Current possible values are:

  • sqlite
  • sqlite2
  • pgsql
  • oracle
  • mssql
  • firebird
  • simpledb
  • mongo
  • elastic
  • clickhouse

(This image was not tested with all of them)

ADMINER_AUTOLOGIN

If this variable exists (even if it's empty), adminer will try to autologin, no matter if all fields are filled

ADMINER_NAME

This value will be in the title and heading.

adminer-docker's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.