Skip to main content

Exemple avec MariaDB

MariaDB et Adminer

L'image officielle de MariaDB indique dans sa documentation un fichier docker-compose.yml pour le faire fonctionner avec l'interface Adminer.

🔗 https://hub.docker.com/_/mariadb#-via-docker-compose

# Use root/example as user/password credentials

services:

  db:
    image: mariadb
    restart: always
    environment:
      MARIADB_ROOT_PASSWORD: example

  adminer:
    image: adminer
    restart: always
    ports:
      - 8080:8080

Exécution

image.png

image.png

image.png