Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added cross-platfrom support via tonistiigi/binfmt #85

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions setup/docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
services:
emulator:
# Cross-Platform support
# https://github.com/tonistiigi/binfmt
image: tonistiigi/binfmt
container_name: emulator
privileged: true
command: --install amd64
network_mode: bridge
restart: "no"
mantis:
# When testing local changes, uncomment the following commented lines and comment out "image"
# This will build the mantis container locally instead of pulling from GHRC
Expand All @@ -16,6 +25,8 @@ services:
- "mantis.db:10.10.0.3"
environment:
- "PS1='Mantis > '"
depends_on:
- emulator
mongodb:
container_name: mongodb
image: mongo:latest
Expand Down