mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 00:55:10 +00:00
Merge branch 'frappe:main' into main
This commit is contained in:
commit
9eb4ae7f5a
5 changed files with 8 additions and 9 deletions
|
|
@ -70,11 +70,11 @@ services:
|
||||||
|
|
||||||
queue-short:
|
queue-short:
|
||||||
<<: *backend_defaults
|
<<: *backend_defaults
|
||||||
command: bench worker --queue short
|
command: bench worker --queue short,default
|
||||||
|
|
||||||
queue-long:
|
queue-long:
|
||||||
<<: *backend_defaults
|
<<: *backend_defaults
|
||||||
command: bench worker --queue long
|
command: bench worker --queue long,default,short
|
||||||
|
|
||||||
scheduler:
|
scheduler:
|
||||||
<<: *backend_defaults
|
<<: *backend_defaults
|
||||||
|
|
|
||||||
|
|
@ -295,8 +295,7 @@ honcho start \
|
||||||
watch \
|
watch \
|
||||||
schedule \
|
schedule \
|
||||||
worker_short \
|
worker_short \
|
||||||
worker_long \
|
worker_long
|
||||||
worker_default
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively you can use the VSCode launch configuration "Honcho SocketIO Watch Schedule Worker" which launches the same command as above.
|
Alternatively you can use the VSCode launch configuration "Honcho SocketIO Watch Schedule Worker" which launches the same command as above.
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,8 @@ This setup is a very simple single compose file that does everything to start re
|
||||||
|
|
||||||
- backend, serves gunicorn backend
|
- backend, serves gunicorn backend
|
||||||
- frontend, serves static assets through nginx frontend reverse proxies websocket and gunicorn.
|
- frontend, serves static assets through nginx frontend reverse proxies websocket and gunicorn.
|
||||||
- queue-long, long rq worker.
|
- queue-long, long default and short rq worker.
|
||||||
- queue-short, short rq worker.
|
- queue-short, default and short rq worker.
|
||||||
- schedule, event scheduler.
|
- schedule, event scheduler.
|
||||||
- websocket, socketio websocket for realtime communication.
|
- websocket, socketio websocket for realtime communication.
|
||||||
|
|
||||||
|
|
|
||||||
4
pwd.yml
4
pwd.yml
|
|
@ -119,7 +119,7 @@ services:
|
||||||
- bench
|
- bench
|
||||||
- worker
|
- worker
|
||||||
- --queue
|
- --queue
|
||||||
- long
|
- long,default,short
|
||||||
volumes:
|
volumes:
|
||||||
- sites:/home/frappe/frappe-bench/sites
|
- sites:/home/frappe/frappe-bench/sites
|
||||||
- logs:/home/frappe/frappe-bench/logs
|
- logs:/home/frappe/frappe-bench/logs
|
||||||
|
|
@ -133,7 +133,7 @@ services:
|
||||||
- bench
|
- bench
|
||||||
- worker
|
- worker
|
||||||
- --queue
|
- --queue
|
||||||
- short
|
- short,default
|
||||||
volumes:
|
volumes:
|
||||||
- sites:/home/frappe/frappe-bench/sites
|
- sites:/home/frappe/frappe-bench/sites
|
||||||
- logs:/home/frappe/frappe-bench/logs
|
- logs:/home/frappe/frappe-bench/logs
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
pytest==7.4.2
|
pytest==7.4.3
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue