7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-06-26 08:52:34 +00:00

Rename worker containers from x_worker to x-worker

This is more coherent with k8s.
This commit is contained in:
Régis Behmo 2020-03-10 10:05:53 +01:00
parent c2628d2b9c
commit 0325e7ad95
5 changed files with 9 additions and 8 deletions

View File

@ -4,6 +4,7 @@ Note: Breaking changes between versions are indicated by "💥".
## Unreleased
- [Improvement] Rename lms/cms_worker to lms/cms-worker in local deployment
- [Improvement] Add the management plugin to the rabbitmq container
- [Improvement] Make it possible to run an Elasticsearch service on https

View File

@ -80,10 +80,10 @@ Then, add the following content::
cms:
volumes:
- /path/to/edx-platform/:/openedx/edx-platform
lms_worker:
lms-worker:
volumes:
- /path/to/edx-platform/:/openedx/edx-platform
cms_worker:
cms-worker:
volumes:
- /path/to/edx-platform/:/openedx/edx-platform

View File

@ -69,9 +69,9 @@ def restart(context, service):
command = ["restart"]
if service == "openedx":
if config["ACTIVATE_LMS"]:
command += ["lms", "lms_worker"]
command += ["lms", "lms-worker"]
if config["ACTIVATE_CMS"]:
command += ["cms", "cms_worker"]
command += ["cms", "cms-worker"]
elif service != "all":
command += [service]
context.docker_compose(context.root, config, *command)

View File

@ -22,9 +22,9 @@ services:
command: ./manage.py cms runserver 0.0.0.0:8000
ports:
- "8001:8000"
lms_worker:
lms-worker:
<<: *openedx-service
cms_worker:
cms-worker:
<<: *openedx-service
# Additional service for watching theme changes

View File

@ -150,7 +150,7 @@ services:
############# LMS and CMS workers
{% if ACTIVATE_LMS %}
lms_worker:
lms-worker:
image: {{ DOCKER_REGISTRY }}{{ DOCKER_IMAGE_OPENEDX }}
environment:
SERVICE_VARIANT: lms
@ -169,7 +169,7 @@ services:
{% endif %}
{% if ACTIVATE_CMS %}
cms_worker:
cms-worker:
image: {{ DOCKER_REGISTRY }}{{ DOCKER_IMAGE_OPENEDX }}
environment:
SERVICE_VARIANT: cms