Skip to content

Commit

Permalink
fix celery dev container
Browse files Browse the repository at this point in the history
  • Loading branch information
sainak committed Jun 21, 2023
1 parent 72fedf5 commit be2eaf9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions celery_dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

watchmedo \
auto-restart --directory=./ --pattern=*.py --recursive -- \
celery -A config.celery_app worker -B --loglevel=INFO
1 change: 0 additions & 1 deletion config/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
name="hcx_communication_on_request",
),
# Health check urls
# url(r"^watchman/", include("watchman.urls")),
path("middleware/verify", MiddlewareAuthenticationVerifyView.as_view()),
path(
".well-known/openid-configuration",
Expand Down
1 change: 0 additions & 1 deletion devCelery.sh

This file was deleted.

2 changes: 1 addition & 1 deletion docker-compose.local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
env_file:
- ./docker/.local.env
- ./.env
entrypoint: [ "bash", "devCelery.sh" ]
entrypoint: [ "bash", "celery_dev.sh" ]
depends_on:
- db
- backend
Expand Down
1 change: 1 addition & 0 deletions requirements/local.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ djangorestframework-stubs==3.14.1 # https://github.com/typeddjango/djangorestfr
# Container development
# ------------------------------------------------------------------------------
debugpy==1.6.7
watchdog # https://github.com/gorakhargosh/watchdog

0 comments on commit be2eaf9

Please sign in to comment.