mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-13 06:37:46 +00:00
Merge remote-tracking branch 'origin/master' into nightly
This commit is contained in:
commit
540e53eb5f
1
changelog.d/20230313_163654_kdmc_dev_image_for_dev_do.md
Normal file
1
changelog.d/20230313_163654_kdmc_dev_image_for_dev_do.md
Normal file
@ -0,0 +1 @@
|
||||
- [Bugfix] Running jobs in development mode with ``tutor dev do ...`` will now correctly use the development image. Previously, it used the production image, just like ``tutor local do ...``. (by @kdmccormick)
|
@ -1,3 +1,21 @@
|
||||
version: "{{ DOCKER_COMPOSE_VERSION }}"
|
||||
services: {% if not patch("dev-docker-compose-jobs-services") %}{}{% endif %}
|
||||
{{ patch("dev-docker-compose-jobs-services")|indent(4) }}
|
||||
|
||||
x-openedx-job-service:
|
||||
&openedx-job-service
|
||||
image: {{ DOCKER_IMAGE_OPENEDX_DEV }}
|
||||
build:
|
||||
context: ../build/openedx/
|
||||
target: development
|
||||
args:
|
||||
# Note that we never build the openedx-dev image with root user ID, as it would simply fail.
|
||||
APP_USER_ID: "{{ HOST_USER_ID or 1000 }}"
|
||||
|
||||
services:
|
||||
|
||||
lms-job:
|
||||
<<: *openedx-job-service
|
||||
|
||||
cms-job:
|
||||
<<: *openedx-job-service
|
||||
|
||||
{{ patch("dev-docker-compose-jobs-services")|indent(2) }}
|
||||
|
Loading…
Reference in New Issue
Block a user