From 4f4bd0c419573e87241ac4fe9ce7c9292574a7fc Mon Sep 17 00:00:00 2001 From: Kevin McKernan Date: Wed, 2 Feb 2022 12:46:34 -0700 Subject: [PATCH] add note to docker README about Apple M1 support --- docker/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docker/README.md b/docker/README.md index 900dad56..179b3b58 100644 --- a/docker/README.md +++ b/docker/README.md @@ -67,3 +67,16 @@ _NOTE: If you specify a version of allianceauth in your `requirements.txt` in a 1. Update the versions in your `requirements.txt` file 1. Run `docker-compose build` 1. Run `docker-compose --env-file=.env up -d` + +## Notes + +### Apple M1 Support +If you want to run locally on an M1 powered Apple device, you'll need to add `platform: linux/x86_64` under each container in `docker-compose.yml` as the auth container is not compiled for ARM (other containers may work without this, but it's known to work if added to all containers). + +Example: + +```yaml + redis: + platform: linux/x86_64 + image: redis:6.2 +```