Skip to content

Commit

Permalink
Use MySQL8 for development (#924)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
matiasgarciaisaia authored Feb 27, 2024
1 parent 69a3413 commit c5dcff3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docker-compose.production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c5dcff3

Please sign in to comment.