codidact / qpixel

Q&A-based community knowledge-sharing software
https://codidact.com
GNU Affero General Public License v3.0
397 stars 68 forks source link

Fix for Docker setup db service healthcheck #1369

Closed Oaphi closed 3 months ago

Oaphi commented 4 months ago

mysqld 8.4+ dropped the --default-authentication-plugin option. Since we do not fix the mysql image in Dockerfile, the healthcheck starts to fail for anyone who rebuilds the container. Also fixed the image version to 8.4.2 (latest stable version of major 8 ATTOW, don't have enough time right now to test if major 9 works, unfortunately) to avoid unpleasant surprises on clean builds.

Also fixed current rubocop issues.