Skip to content

Commit

Permalink
Force x86_64 images for Docker development
Browse files Browse the repository at this point in the history
The software stack doesn't yet support running in ARM.
  • Loading branch information
matiasgarciaisaia committed May 24, 2023
1 parent f02b8dd commit a5a643f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ version: '2.0'
services:
db:
image: mysql:5.7
platform: linux/amd64
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
volumes:
- db:/var/lib/mysql

broker:
build: ./broker
platform: linux/amd64
command: /bin/sh -c 'make && make run'
volumes:
- ./broker:/app
Expand All @@ -31,6 +33,7 @@ services:
ipv4_address: 172.88.0.88

web: &rails
platform: linux/amd64
build:
context: .
dockerfile: Dockerfile.dev
Expand All @@ -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
Expand Down

0 comments on commit a5a643f

Please sign in to comment.