fix: add --with-scheduler flag to RQ worker in compose.yml
Co-authored-by: abhi1693 <5083532+abhi1693@users.noreply.github.com>
This commit is contained in:
@@ -75,7 +75,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: backend/Dockerfile
|
dockerfile: backend/Dockerfile
|
||||||
command: ["rq", "worker", "-u", "redis://redis:6379/0"]
|
command: ["rq", "worker", "--with-scheduler", "-u", "redis://redis:6379/0"]
|
||||||
env_file:
|
env_file:
|
||||||
- ./backend/.env
|
- ./backend/.env
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Reference in New Issue
Block a user