docker-compose.arm64.yml 1.2 KB

123456789101112131415161718192021222324252627
  1. # Override file for the slicer-api sidecar stack on ARM64 (experimental).
  2. #
  3. # Pins both sidecars to the linux/amd64 images so they run under QEMU
  4. # emulation on an ARM64 host. The host must have QEMU binfmt registered
  5. # first (qemu-user-static + binfmt-support on Debian/Ubuntu) or the
  6. # containers fail with "exec format error". Expect roughly 3-6x slower
  7. # slicing than native — a stopgap until native ARM64 images ship.
  8. #
  9. # This file is not meant to be used on its own. It is intended to be used in
  10. # combination with the default docker-compose file, for example:
  11. # docker compose -f docker-compose.yml -f docker-compose.arm64.yml up -d
  12. #
  13. # Both -f flags are needed on EVERY compose command, not just the first, so
  14. # put this line in .env instead and the plain commands in the README work
  15. # unchanged:
  16. # COMPOSE_FILE=docker-compose.yml:docker-compose.arm64.yml
  17. #
  18. # For any setup questions, see the 'Server-Side Slicing (Slicer API)' page in
  19. # the Bambuddy wiki. Also check the README and default compose file in this
  20. # directory for usage instructions and other details.
  21. services:
  22. orca-slicer-api:
  23. platform: linux/amd64
  24. bambu-studio-api:
  25. platform: linux/amd64