Skip to content

Commit

Permalink
Fix worker script
Browse files Browse the repository at this point in the history
  • Loading branch information
medihack committed Aug 5, 2024
1 parent 603be59 commit 66895de
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions compose/docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ services:
command: >
bash -c "
wait-for-it -s postgres.local:5432 -t 60 &&
./manage.py worker -l debug -q default --autoreload
./manage.py bg_worker -l debug -q default --autoreload
"
worker_llm:
<<: *default-app
command: >
bash -c "
wait-for-it -s postgres.local:5432 -t 60 &&
./manage.py worker -l debug -q llm --autoreload
./manage.py bg_worker -l debug -q llm --autoreload
"
llamacpp_cpu:
Expand Down
4 changes: 2 additions & 2 deletions compose/docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ services:
command: >
bash -c "
wait-for-it -s postgres.local:5432 -t 60 &&
./manage.py worker -q default
./manage.py bg_worker -q default
"
deploy:
<<: *deploy
Expand All @@ -65,7 +65,7 @@ services:
command: >
bash -c "
wait-for-it -s postgres.local:5432 -t 60 &&
./manage.py worker -q llm
./manage.py bg_worker -q llm
"
deploy:
<<: *deploy
Expand Down
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["medihack <[email protected]>"]
license = "GPL-3.0-or-later"

[tool.poetry.dependencies]
adit-radis-shared = {git = "https://github.com/openradx/adit-radis-shared.git", rev = "v0.6.2"}
adit-radis-shared = {git = "https://github.com/openradx/adit-radis-shared.git", rev = "v0.6.3"}
adrf = "^0.1.4"
aiofiles = "^23.1.0"
asyncinotify = "^4.0.1"
Expand Down

0 comments on commit 66895de

Please sign in to comment.