fix: service "xqueue-job" depends on undefined service mysql: invalid compose project (#24)
* fix: docker compose error, dependency sql missing, when running with RUN_MYSQL=false * fix spelling error --------- Co-authored-by: Ravi Khetani <r.khetani@institute.global>
This commit is contained in:
parent
c88592235f
commit
c93d2a3e35
1
changelog.d/20231113_135404_r.khetani.md
Normal file
1
changelog.d/20231113_135404_r.khetani.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
- [Bugfix] Fix "Error: service "xqueue-job" depends on undefined service mysql: invalid compose project" - add conditional statement to check whether the mysql service is enabled or if the user is using an external mysql instance. (by @ravikhetani)
|
||||||
@ -4,5 +4,4 @@ xqueue-job:
|
|||||||
- ../plugins/xqueue/apps/settings/tutor.py:/openedx/xqueue/xqueue/tutor.py:ro
|
- ../plugins/xqueue/apps/settings/tutor.py:/openedx/xqueue/xqueue/tutor.py:ro
|
||||||
environment:
|
environment:
|
||||||
DJANGO_SETTINGS_MODULE: xqueue.tutor
|
DJANGO_SETTINGS_MODULE: xqueue.tutor
|
||||||
depends_on:
|
depends_on: {{ [("mysql", RUN_MYSQL)]|list_if }}
|
||||||
- mysql
|
|
||||||
Loading…
x
Reference in New Issue
Block a user