From 7ec68f271c8f48e2073740d05de7d938798ce698 Mon Sep 17 00:00:00 2001 From: Richard Pablo Date: Thu, 11 Apr 2024 10:35:27 +0100 Subject: [PATCH] #1370 Adding platform parameter Adding the platform parameter to be able to run this compose in non amd64 platforms --- compose.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/compose.yaml b/compose.yaml index f4d81b63..be9fe7ea 100644 --- a/compose.yaml +++ b/compose.yaml @@ -17,6 +17,7 @@ x-backend-defaults: &backend_defaults services: configurator: <<: *backend_defaults + platform: linux/amd64 entrypoint: - bash - -c @@ -40,9 +41,11 @@ services: backend: <<: *backend_defaults + platform: linux/amd64 frontend: <<: *customizable_image + platform: linux/amd64 command: - nginx-entrypoint.sh environment: @@ -62,6 +65,7 @@ services: websocket: <<: [*depends_on_configurator, *customizable_image] + platform: linux/amd64 command: - node - /home/frappe/frappe-bench/apps/frappe/socketio.js @@ -70,14 +74,17 @@ services: queue-short: <<: *backend_defaults + platform: linux/amd64 command: bench worker --queue short,default queue-long: <<: *backend_defaults + platform: linux/amd64 command: bench worker --queue long,default,short scheduler: <<: *backend_defaults + platform: linux/amd64 command: bench schedule # ERPNext requires local assets access (Frappe does not)