From 17753dd8e0ae0541907b6ad056850f05ab7ba64f Mon Sep 17 00:00:00 2001 From: Sharon P Raju <47088116+sharonpraju@users.noreply.github.com> Date: Wed, 27 Nov 2024 14:01:18 +0530 Subject: [PATCH] Updated README.md (arm64 architecture) (#1520) * Update README.md Added documentation to run on arm64 architecture. * fix: lint --------- Co-authored-by: Revant Nandgaonkar --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 114adfcf..b68905a5 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,19 @@ cd frappe_docker Then run: `docker compose -f pwd.yml up -d` +### To run on ARM64 architecture follow this instructions + +After cloning the repo run this command to build multi-architecture images specifically for ARM64. + +`docker buildx bake --no-cache --set *.platform=linux/arm64` + +and then + +- add `platform: linux/arm64` to all services in the pwd.yaml +- replace the current specified versions of erpnext image on `pwd.yml` with `:latest` + +Then run: `docker compose -f pwd.yml up -d` + ## Final steps Wait for 5 minutes for ERPNext site to be created or check `create-site` container logs before opening browser on port 8080. (username: `Administrator`, password: `admin`)