Closed shimizurei closed 2 years ago
@shimizurei AFAIK you don't need to put plugin
into ADMINER_PLUGINS
env var
also, you need to bind-mount login-password-less
so your compose file should look like this
services:
adminer:
image: 'adminer:latest'
restart: always
ports:
- '8080:8080'
volumes:
- ./plugins/login-password-less.php:/var/www/html/plugins-enabled/login-password-less.php
environment:
- 'ADMINER_DESIGN=dracula'
- 'ADMINER_PLUGINS=dump-json dump-zip'
Found the answer here.
Compose file (adminer section) ultimately looks like this:
services:
adminer:
image: 'adminer:latest'
restart: always
ports:
- '8080:8080'
volumes:
- ./plugins/login-password-less.php:/var/www/html/plugins-enabled/login-password-less.php
environment:
- 'ADMINER_DESIGN=dracula'
- 'ADMINER_PLUGINS=dump-json dump-zip' # #### REMOVE any plugins in a bind mount from the list
I am testing out adminer and I cannot get it to run when I add the plugin line. According to the logs, I get an exit code 255.
Compose File