Adminer with Docker
The following list contains all current Docker tags and what is included in each.
| System | Docker Tag | Features |
|---|---|---|
| PHP 8.2@Alpine 3.18 | latest | Adminer 4.8.1, PHP 8.2, PDO MySQL, PDO PostgreSQL, PDO Sqlite, Nginx |
Create a docker-compose.yml file and add the Adminer service:
version: '3.3'
services:
adminer:
build:
context: ../../
dockerfile: Dockerfile
restart: always
ports:
- 8080:80
links:
- db
db:
image: mariadb:10.2
restart: always
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: example-db
Run:
docker-compose up
and visit http://localhost:8080 with server db, username root and password
password.
Images are automatically build using GitHub actions and pushed to Docker Hub.
Labels are neat way to expose additional metadata about particular Docker object. We use Label Schema when defining image labels:
build-date - Date and time of the build. Defined as
org.label-schema.build-date=$BUILD_DATE, where $BUILD_DATE is set dynamically
via above hooks/build scriptvcs-url - Repository location on GitHub. Defined as
org.label-schema.vcs-url="https://github.com/petk/docker-adminer.git"vcs-ref - Reference to commit in Git repositoryschema-version - Version of the Label Schema in use.vendor - Vendor name of the image creators.namedescriptionurlContributions are most welcome. This repository is released under the MIT license.
Content type
Image
Digest
sha256:05bdd2085…
Size
16.7 MB
Last updated
over 3 years ago
docker pull petk/adminer