From 8b56ee2c8968743dc1e9412f2888df14ed788cc7 Mon Sep 17 00:00:00 2001 From: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Date: Wed, 24 Jun 2026 15:55:24 -0300 Subject: [PATCH] fix: pin mysql version Ref: https://github.com/nextcloud/server/blob/master/.github/workflows/phpunit-mysql.yml#L63-L64 Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> --- docker-compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 310212b..1e8503b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,9 @@ services: - 127.0.0.1:5432:5432 command: postgres -c log_statement=all mysql: - image: mysql + # Pin to 8.4: mysql:latest currently resolves to 9.x, and Nextcloud autoinstall + # runs with the application user, which cannot read mysql.component there. + image: mysql:8.4 volumes: - ./volumes/mysql/init:/docker-entrypoint-initdb.d - ./volumes/mysql/data:/var/lib/mysql