Adminer docker image with extended env variables for autologin. Supports password files
4.0K
Adminer docker image with extended env variables for autologin. Supports Docker Swarm Secrets.
Docker hub: http://hub.docker.com/r/butopea/adminer
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
butopea/adminer:4.8.1-en_v1
4.8.1 = Adminer versionen = Adminer flavour (as in https://github.com/vrana/adminer/releases)v1 = Image version, when something else than adminer version in this repository changesADMINER_DB, ADMINER_PASSWORD, ADMINER_PASSWORD_FILE, ADMINER_SERVER, ADMINER_USERNAMEADMINER_PASSWORD_FILEIf provided, script tries read content of file and uses it as password. Overwrites ADMIN_PASSWORD. Useful if using Docker Swarm Secrets
ADMINER_DRIVERValue from driver select
Current possible values are:
sqlitesqlite2pgsqloraclemssqlfirebirdsimpledbmongoelasticclickhouse(This image was not tested with all of them)
ADMINER_AUTOLOGINIf this variable exists (even if it's empty), adminer will try to autologin, no matter if all fields are filled
ADMINER_NAMEThis value will be in the title and heading.
Content type
Image
Digest
sha256:26e76280c…
Size
11.2 MB
Last updated
8 months ago
docker pull butopea/adminer