Skip to content

Commit

Permalink
Merge pull request #324 from Shopify/m1_compatibility
Browse files Browse the repository at this point in the history
Add platform to docker compose
  • Loading branch information
itsWill authored Dec 9, 2021
2 parents 54ea8c7 + 9272fb0 commit f6da384
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/start-mysql.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -xe

DOCKER_COMPOSE_VERSION=1.21.2
DOCKER_COMPOSE_VERSION=1.29.2

sudo apt-get update
sudo apt-get install -y netcat-openbsd make gcc
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: "3"
services:
mysql-1:
image: percona:5.7
platform: linux/x86_64
command: --server-id=1
--log-bin=mysql-bin
--max-binlog-size=4096
Expand All @@ -24,6 +25,7 @@ services:

mysql-2:
image: percona:5.7
platform: linux/x86_64
command: --server-id=2
--log-bin=mysql-bin
--binlog-format=ROW
Expand Down

0 comments on commit f6da384

Please sign in to comment.