From c5dcff36b21595729e2c094016d5c604df469acd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Garc=C3=ADa=20Isa=C3=ADa?= Date: Tue, 27 Feb 2024 15:42:16 -0300 Subject: [PATCH] Use MySQL8 for development (#924) Fixes #921 * Use MySQL8 for development See #921 * Use OracleLinux-based MySQL Docker image I'd rather use Debian, but Oracle doesn't provide ARM builds of MySQL for Debian. --- docker-compose.production.yml | 3 ++- docker-compose.yml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docker-compose.production.yml b/docker-compose.production.yml index 29ba0249..f74f285f 100644 --- a/docker-compose.production.yml +++ b/docker-compose.production.yml @@ -2,7 +2,8 @@ version: '2.0' services: db: - image: mysql:5.7 + image: mysql:8.0 + command: --default-authentication-plugin=mysql_native_password environment: MYSQL_RANDOM_ROOT_PASSWORD: 'yes' MYSQL_USER: resourcemap diff --git a/docker-compose.yml b/docker-compose.yml index 18ae3bbf..2037c060 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,8 +2,8 @@ version: '2.0' services: db: - image: mysql:5.7 - platform: linux/amd64 + image: mysql:8.0 + command: --default-authentication-plugin=mysql_native_password environment: MYSQL_ALLOW_EMPTY_PASSWORD: 'yes' volumes: