mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-06-08 09:00:46 +00:00
732e0c43be
The lms-job and cms-job services were configured to use {{ DOCKER_IMAGE_OPENEDX }} rather than {{ DOCKER_IMAGE_OPENEDX_DEV }}. This means that when running jobs in dev mode, a la: tutor dev do init a production image would be used, to the user's surprise.
22 lines
502 B
YAML
22 lines
502 B
YAML
version: "{{ DOCKER_COMPOSE_VERSION }}"
|
|
|
|
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) }}
|