Skip to content

Commit

Permalink
docs: fix docker-compose for ent
Browse files Browse the repository at this point in the history
  • Loading branch information
farioas committed Nov 23, 2022
1 parent b923818 commit 78471c6
Showing 1 changed file with 38 additions and 2 deletions.
40 changes: 38 additions & 2 deletions docs/source/guide/install_enterprise_docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ services:
- ./certs:/certs:ro
working_dir: /label-studio-enterprise

rqworkers:
rqworkers_low:
image: heartexlabs/label-studio-enterprise:VERSION
depends_on:
- app
Expand All @@ -162,7 +162,19 @@ services:
- ./mydata:/label-studio/data:rw
- ./license.txt:/label-studio-enterprise/license.txt:ro
working_dir: /label-studio-enterprise
command: [ "python3", "/label-studio-enterprise/label_studio_enterprise/manage.py", "rqworker", "critical", "high", "default", "low" ]
command: [ "python3", "/label-studio-enterprise/label_studio_enterprise/manage.py", "rqworker", "low" ]

rqworkers_default:
image: heartexlabs/label-studio-enterprise:VERSION
depends_on:
- app
env_file:
- env.list
volumes:
- ./mydata:/label-studio/data:rw
- ./license.txt:/label-studio-enterprise/license.txt:ro
working_dir: /label-studio-enterprise
command: [ "python3", "/label-studio-enterprise/label_studio_enterprise/manage.py", "rqworker", "default"]

rqworkers_high:
image: heartexlabs/label-studio-enterprise:VERSION
Expand All @@ -175,6 +187,30 @@ services:
- ./license.txt:/label-studio-enterprise/license.txt:ro
working_dir: /label-studio-enterprise
command: [ "python3", "/label-studio-enterprise/label_studio_enterprise/manage.py", "rqworker", "high" ]

rqworkers_critical:
image: heartexlabs/label-studio-enterprise:VERSION
depends_on:
- app
env_file:
- env.list
volumes:
- ./mydata:/label-studio/data:rw
- ./license.txt:/label-studio-enterprise/license.txt:ro
working_dir: /label-studio-enterprise
command: [ "python3", "/label-studio-enterprise/label_studio_enterprise/manage.py", "rqworker", "critical" ]

rqworkers_all:
image: heartexlabs/label-studio-enterprise:VERSION
depends_on:
- app
env_file:
- env.list
volumes:
- ./mydata:/label-studio/data:rw
- ./license.txt:/label-studio-enterprise/license.txt:ro
working_dir: /label-studio-enterprise
command: [ "python3", "/label-studio-enterprise/label_studio_enterprise/manage.py", "rqworker", "critical", "high", "default", "low" ]
```
3. Run Docker Compose:
Expand Down

0 comments on commit 78471c6

Please sign in to comment.