mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-04 20:37:52 +00:00
Rename worker containers from x_worker to x-worker
This is more coherent with k8s.
This commit is contained in:
parent
c2628d2b9c
commit
0325e7ad95
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user