mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-09 23:00:56 +00:00
Adding the platform parameter to be able to run this compose in non amd64 platforms
This commit is contained in:
parent
e94081df87
commit
ade69369fb
@ -17,6 +17,7 @@ x-backend-defaults: &backend_defaults
|
|||||||
services:
|
services:
|
||||||
configurator:
|
configurator:
|
||||||
<<: *backend_defaults
|
<<: *backend_defaults
|
||||||
|
platform: linux/amd64
|
||||||
entrypoint:
|
entrypoint:
|
||||||
- bash
|
- bash
|
||||||
- -c
|
- -c
|
||||||
@ -40,9 +41,11 @@ services:
|
|||||||
|
|
||||||
backend:
|
backend:
|
||||||
<<: *backend_defaults
|
<<: *backend_defaults
|
||||||
|
platform: linux/amd64
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
<<: *customizable_image
|
<<: *customizable_image
|
||||||
|
platform: linux/amd64
|
||||||
command:
|
command:
|
||||||
- nginx-entrypoint.sh
|
- nginx-entrypoint.sh
|
||||||
environment:
|
environment:
|
||||||
@ -62,6 +65,7 @@ services:
|
|||||||
|
|
||||||
websocket:
|
websocket:
|
||||||
<<: [*depends_on_configurator, *customizable_image]
|
<<: [*depends_on_configurator, *customizable_image]
|
||||||
|
platform: linux/amd64
|
||||||
command:
|
command:
|
||||||
- node
|
- node
|
||||||
- /home/frappe/frappe-bench/apps/frappe/socketio.js
|
- /home/frappe/frappe-bench/apps/frappe/socketio.js
|
||||||
@ -70,14 +74,17 @@ services:
|
|||||||
|
|
||||||
queue-short:
|
queue-short:
|
||||||
<<: *backend_defaults
|
<<: *backend_defaults
|
||||||
|
platform: linux/amd64
|
||||||
command: bench worker --queue short,default
|
command: bench worker --queue short,default
|
||||||
|
|
||||||
queue-long:
|
queue-long:
|
||||||
<<: *backend_defaults
|
<<: *backend_defaults
|
||||||
|
platform: linux/amd64
|
||||||
command: bench worker --queue long,default,short
|
command: bench worker --queue long,default,short
|
||||||
|
|
||||||
scheduler:
|
scheduler:
|
||||||
<<: *backend_defaults
|
<<: *backend_defaults
|
||||||
|
platform: linux/amd64
|
||||||
command: bench schedule
|
command: bench schedule
|
||||||
|
|
||||||
# ERPNext requires local assets access (Frappe does not)
|
# ERPNext requires local assets access (Frappe does not)
|
||||||
|
Loading…
Reference in New Issue
Block a user