version: "3.5"

# https://github.com/docker-library/mysql/issues/149
# disabling default sql-mode set to only_full_group_by
services:
  xc-mysql-sakila-db:
     image: mysql:8.3.0
     command: mysqld --sql_mode=""
     restart: always
     ports:
       - 3306:3306
     environment:
       MYSQL_ROOT_PASSWORD: password
     volumes:
       - ../../../packages/nocodb/tests/mysql-sakila-db:/docker-entrypoint-initdb.d