Sign inSign up

petk/adminer

By petk

•Updated over 3 years ago

Adminer with Docker

Image
1

1.6K

petk/adminer repository overview

⁠Adminer with Docker

Test workflow Docker Automated build MIT License

Adminer with Docker

⁠Docker tags

The following list contains all current Docker tags and what is included in each.

SystemDocker TagFeatures
PHP 8.2@Alpine 3.18latest⁠Adminer 4.8.1, PHP 8.2, PDO MySQL, PDO PostgreSQL, PDO Sqlite, Nginx

⁠Usage

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.

⁠Building images

Images are automatically build using GitHub actions and pushed to Docker Hub⁠.

⁠Labels

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 script
  • vcs-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 repository
  • schema-version - Version of the Label Schema in use.
  • vendor - Vendor name of the image creators.
  • name
  • description
  • url

⁠License and contributing

Contributions⁠ are most welcome. This repository is released under the MIT license⁠.

Tag summary

Content type

Image

Digest

sha256:05bdd2085…

Size

16.7 MB

Last updated

over 3 years ago

docker pull petk/adminer