Sign inSign up

butopea/adminer

By butopea

•Updated 8 months ago

Adminer docker image with extended env variables for autologin. Supports password files

Image
0

4.0K

butopea/adminer repository overview

⁠Docker Adminer with env login

Adminer⁠ docker image with extended env variables for autologin. Supports Docker Swarm Secrets.

Docker hub: http://hub.docker.com/r/butopea/adminer⁠

⁠Exapmle:

version: '3.8'

services:
    adminer:
        image: butopea/adminer
        ports:
            - 8080:8080
        environment:
            ADMINER_DB: adminer
            ADMINER_DRIVER: pgsql
            ADMINER_PASSWORD: adminer
            # OR #
            ADMINER_PASSWORD_FILE: /run/secrets/password_file
            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
            # OR #
            POSTGRES_PASSWORD_FILE: /run/secrets/password_file


⁠Tags

butopea/adminer:4.8.1-en_v1

⁠Environment Variables

⁠ADMINER_DB, ADMINER_PASSWORD, ADMINER_PASSWORD_FILE, ADMINER_SERVER, ADMINER_USERNAME
⁠ADMINER_PASSWORD_FILE

If provided, script tries read content of file and uses it as password. Overwrites ADMIN_PASSWORD. Useful if using Docker Swarm Secrets

⁠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.

Tag summary

Content type

Image

Digest

sha256:26e76280c…

Size

11.2 MB

Last updated

8 months ago

docker pull butopea/adminer