diff --git a/changelog.d/20250102_143119_danyal.faheem_fix_meilisearch_init_job.md b/changelog.d/20250102_143119_danyal.faheem_fix_meilisearch_init_job.md new file mode 100644 index 0000000000..7d7f827dca --- /dev/null +++ b/changelog.d/20250102_143119_danyal.faheem_fix_meilisearch_init_job.md @@ -0,0 +1 @@ +- [Bugfix] Add meilisearch as a dependency on lms-job to avoid meilisearch init job crashing when the platform is stopped. (by @Danyal-Faheem) \ No newline at end of file diff --git a/tutor/templates/local/docker-compose.jobs.yml b/tutor/templates/local/docker-compose.jobs.yml index 1e463a02b1..27f21367c8 100644 --- a/tutor/templates/local/docker-compose.jobs.yml +++ b/tutor/templates/local/docker-compose.jobs.yml @@ -29,7 +29,7 @@ services: {%- for mount in iter_mounts(MOUNTS, "openedx", "lms-job") %} - {{ mount }} {%- endfor %} - depends_on: {{ [("mysql", RUN_MYSQL), ("mongodb", RUN_MONGODB)]|list_if }} + depends_on: {{ [("mysql", RUN_MYSQL), ("mongodb", RUN_MONGODB), ("meilisearch", RUN_MEILISEARCH)]|list_if }} cms-job: image: {{ DOCKER_IMAGE_OPENEDX }}