From e7d7a0551245c2e46f3fdf16e444366d38c85174 Mon Sep 17 00:00:00 2001 From: Juuso Takalainen Date: Mon, 13 Jan 2025 15:06:14 +0200 Subject: [PATCH 1/2] build: remove version and platform specification from mysql docker image also fix the config --- custom-mysql-settings.cnf | 2 +- docker-compose.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/custom-mysql-settings.cnf b/custom-mysql-settings.cnf index 8de22b5..9c556b9 100644 --- a/custom-mysql-settings.cnf +++ b/custom-mysql-settings.cnf @@ -1,4 +1,4 @@ [mysqld] max_allowed_packet=32M -sql_mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION +sql_mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION lower_case_table_names=1 diff --git a/docker-compose.yml b/docker-compose.yml index 1a34e98..8ab8f5b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -43,8 +43,8 @@ services: - cassandra mysql: container_name: streamr-dev-mysql - platform: linux/x86_64 - image: mysql:5.7 + # platform: linux/x86_64 + image: mysql #:5.7 init: true networks: - streamr-network From 73b52fa4b9b1a09ed023e29479a79e17fe46ef60 Mon Sep 17 00:00:00 2001 From: Juuso Takalainen Date: Mon, 20 Jan 2025 12:06:37 +0200 Subject: [PATCH 2/2] cleanup: remove commented-out code also add explicit version --- docker-compose.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 8ab8f5b..f939406 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -43,8 +43,7 @@ services: - cassandra mysql: container_name: streamr-dev-mysql - # platform: linux/x86_64 - image: mysql #:5.7 + image: mysql:9.1.0 init: true networks: - streamr-network