version: '3'
services:
  db:
    image: mysql:5.7.32
    container_name: mysql-test
    command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
    environment:
      - MYSQL_HOST=localhost
      - MYSQL_PORT=3306
      - MYSQL_DATABASE=WinstonTest
      - MYSQL_USER=logger
      - MYSQL_PASSWORD=logger*test
      - MYSQL_ROOT_PASSWORD=logger*test

    ports:
      - "3306:3306"

  adminer:
    image: adminer
    ports:
      - "8080:8080"
