Skip to content

Commit 93b7f49

Browse files
committed
docs: add scheduler option
1 parent 23c0504 commit 93b7f49

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/source/guide/install_enterprise_docker.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ services:
176176
- ./mydata:/label-studio/data:rw
177177
- ./license.txt:/label-studio-enterprise/license.txt:ro
178178
working_dir: /label-studio-enterprise
179-
command: [ "python3", "/label-studio-enterprise/label_studio_enterprise/manage.py", "rqworker", "low" ]
179+
command: [ "python3", "/label-studio-enterprise/label_studio_enterprise/manage.py", "rqworker", "--with-scheduler", "low" ]
180180

181181
rqworkers_default:
182182
image: heartexlabs/label-studio-enterprise:VERSION
@@ -188,7 +188,7 @@ services:
188188
- ./mydata:/label-studio/data:rw
189189
- ./license.txt:/label-studio-enterprise/license.txt:ro
190190
working_dir: /label-studio-enterprise
191-
command: [ "python3", "/label-studio-enterprise/label_studio_enterprise/manage.py", "rqworker", "default"]
191+
command: [ "python3", "/label-studio-enterprise/label_studio_enterprise/manage.py", "rqworker", "--with-scheduler", "default" ]
192192

193193
rqworkers_high:
194194
image: heartexlabs/label-studio-enterprise:VERSION
@@ -200,7 +200,7 @@ services:
200200
- ./mydata:/label-studio/data:rw
201201
- ./license.txt:/label-studio-enterprise/license.txt:ro
202202
working_dir: /label-studio-enterprise
203-
command: [ "python3", "/label-studio-enterprise/label_studio_enterprise/manage.py", "rqworker", "high" ]
203+
command: [ "python3", "/label-studio-enterprise/label_studio_enterprise/manage.py", "rqworker", "--with-scheduler", "high"]
204204

205205
rqworkers_critical:
206206
image: heartexlabs/label-studio-enterprise:VERSION
@@ -212,7 +212,7 @@ services:
212212
- ./mydata:/label-studio/data:rw
213213
- ./license.txt:/label-studio-enterprise/license.txt:ro
214214
working_dir: /label-studio-enterprise
215-
command: [ "python3", "/label-studio-enterprise/label_studio_enterprise/manage.py", "rqworker", "critical" ]
215+
command: [ "python3", "/label-studio-enterprise/label_studio_enterprise/manage.py", "rqworker", "--with-scheduler", "critical" ]
216216
```
217217
218218
3. Run Docker Compose:

0 commit comments

Comments
 (0)