tl-its-umich-edu / canvas-course-manager-next

Canvas Course Manager Next: A redesign of the existing CCM application. It extends Canvas features, makes cumbersome features easier to use, and adds new features.
8 stars 9 forks source link

Upgrade to Mysql 8 #388

Closed pushyamig closed 2 years ago

pushyamig commented 2 years ago

Upgrade to Mysql 8 as away to support ARM containers (Apple M1 is an ARM-based system).

References: https://docs.docker.com/desktop/mac/apple-silicon/#known-issues https://devcoops.com/no-matching-manifest-for-linux-arm64-v8/

ssciolla commented 2 years ago

This may be useful: https://github.com/tl-its-umich-edu/canvas-app-explorer/pull/213

jonespm commented 2 years ago

Thanks! Our ultimate solution was to switch the image to

image: mysql/mysql-server:8.0

And renaming - MYSQL_TCP_PORT=3306

pushyamig commented 2 years ago

@jonespm CAE seems to uses image: mysql:8-oracle and I looked at the Myla it uses image: mysql/mysql-server:8.0, What is the recommended? and should we not stick with same image?

jonespm commented 2 years ago

MyLA needs to be updated to the one that CAE is using. We just didn't want to add that to the release we did on Wednesday.

Recommended to use mysql:8-oracle since it works better on non-linux platforms and uses a more similar to config to what we were using.

pushyamig commented 2 years ago

This change seem to be working fine for @ssciolla and @pushyamig locally since merge. I will mark it success