adminer-docker
adminer-docker copied to clipboard
Add support for `ADMINER_DESIGN` variable
ADMINER_DESIGN
environment variable, which works in the official Docker adminer image, does not work with this Docker image
https://hub.docker.com/_/adminer#choosing_a_design
I created my own Dockerfile
from @michalhosna image:
FROM michalhosna/adminer
USER root
ARG ADMINER_DESIGN="nette"
WORKDIR /var/adminer
RUN echo "Getting design for Adminer: ${ADMINER_DESIGN}..."
RUN curl -L https://raw.githubusercontent.com/vrana/adminer/master/designs/${ADMINER_DESIGN}/adminer.css -o adminer.css
So you can run in container from a compose file...
# ...
services:
adminer:
build:
context: "path/to/dockerfile"
args:
- ADMINER_DESIGN=dracula
# ...
Or build with docker run
:
docker build -t adminer-auto-signin-with-theme .
docker run -d -p 8080:8080 adminer-auto-signin-with-theme
🖖🏼