From ade69369fb92fe5ad44458c86b2f20f37ac65d08 Mon Sep 17 00:00:00 2001 From: Richard Pablo Date: Thu, 11 Apr 2024 13:44:32 +0100 Subject: [PATCH] #1370 Adding platform parameter (#1371) 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)