Skip to content

Commit

Permalink
feat: add support for arm
Browse files Browse the repository at this point in the history
  • Loading branch information
rgomezcasas committed Feb 14, 2022
1 parent 9d12c08 commit ec51797
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 @@ -4,6 +4,7 @@ services:
mysql:
container_name: codelytv-java_ddd_skeleton-mysql
image: mysql:8
platform: linux/amd64
ports:
- "3360:3306"
environment:
Expand All @@ -19,6 +20,7 @@ services:
rabbitmq:
container_name: codelytv-java_ddd_skeleton-rabbitmq
image: 'rabbitmq:3.7-management'
platform: linux/amd64
restart: unless-stopped
ports:
- 5630:5672
Expand All @@ -30,6 +32,7 @@ services:
elasticsearch:
container_name: codelytv-java_ddd_skeleton-elasticsearch
image: 'elasticsearch:6.8.4'
platform: linux/amd64
restart: unless-stopped
ports:
- 9300:9300
Expand All @@ -43,6 +46,7 @@ services:
context: .
dockerfile: Dockerfile
restart: unless-stopped
platform: linux/amd64
ports:
- "8030:8080"
volumes:
Expand Down

1 comment on commit ec51797

@guillaumeagile
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does not work on MacOSX Amd 64 (Apple M1 Pro with Rosetta)
Error is on docker compose:
codelytv-java_ddd_skeleton-elasticsearch | OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
codelytv-java_ddd_skeleton-elasticsearch | OpenJDK 64-Bit Server VM warning: UseAVX=2 is not supported on this CPU, setting it to UseAVX=0
codelytv-java_ddd_skeleton-elasticsearch exited with code 137

Please sign in to comment.