From 8dafc669630412d7494a8e4ed07afbdc882c13e1 Mon Sep 17 00:00:00 2001 From: Matias Garcia Isaia Date: Wed, 24 May 2023 13:50:07 -0300 Subject: [PATCH] Force x86_64 images for Docker development The software stack doesn't yet support running in ARM. --- docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 653298da..1584e74c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,6 +3,7 @@ version: '2.0' services: db: image: mysql:5.7 + platform: linux/amd64 environment: MYSQL_ALLOW_EMPTY_PASSWORD: 'yes' volumes: @@ -10,6 +11,7 @@ services: broker: build: ./broker + platform: linux/amd64 command: /bin/sh -c 'make && make run' volumes: - ./broker:/app @@ -31,6 +33,7 @@ services: ipv4_address: 172.88.0.88 web: &rails + platform: linux/amd64 build: context: . dockerfile: Dockerfile.dev @@ -51,6 +54,7 @@ services: asterisk: image: instedd/verboice-asterisk + platform: linux/amd64 environment: BROKER_HOST: 172.88.0.88 LOCAL_NET: 172.88.0.0/16