mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-11 09:35:06 +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
|
## Unreleased
|
||||||
|
|
||||||
|
- [Improvement] Rename lms/cms_worker to lms/cms-worker in local deployment
|
||||||
- [Improvement] Add the management plugin to the rabbitmq container
|
- [Improvement] Add the management plugin to the rabbitmq container
|
||||||
- [Improvement] Make it possible to run an Elasticsearch service on https
|
- [Improvement] Make it possible to run an Elasticsearch service on https
|
||||||
|
|
||||||
|
@ -80,10 +80,10 @@ Then, add the following content::
|
|||||||
cms:
|
cms:
|
||||||
volumes:
|
volumes:
|
||||||
- /path/to/edx-platform/:/openedx/edx-platform
|
- /path/to/edx-platform/:/openedx/edx-platform
|
||||||
lms_worker:
|
lms-worker:
|
||||||
volumes:
|
volumes:
|
||||||
- /path/to/edx-platform/:/openedx/edx-platform
|
- /path/to/edx-platform/:/openedx/edx-platform
|
||||||
cms_worker:
|
cms-worker:
|
||||||
volumes:
|
volumes:
|
||||||
- /path/to/edx-platform/:/openedx/edx-platform
|
- /path/to/edx-platform/:/openedx/edx-platform
|
||||||
|
|
||||||
|
@ -69,9 +69,9 @@ def restart(context, service):
|
|||||||
command = ["restart"]
|
command = ["restart"]
|
||||||
if service == "openedx":
|
if service == "openedx":
|
||||||
if config["ACTIVATE_LMS"]:
|
if config["ACTIVATE_LMS"]:
|
||||||
command += ["lms", "lms_worker"]
|
command += ["lms", "lms-worker"]
|
||||||
if config["ACTIVATE_CMS"]:
|
if config["ACTIVATE_CMS"]:
|
||||||
command += ["cms", "cms_worker"]
|
command += ["cms", "cms-worker"]
|
||||||
elif service != "all":
|
elif service != "all":
|
||||||
command += [service]
|
command += [service]
|
||||||
context.docker_compose(context.root, config, *command)
|
context.docker_compose(context.root, config, *command)
|
||||||
|
@ -22,9 +22,9 @@ services:
|
|||||||
command: ./manage.py cms runserver 0.0.0.0:8000
|
command: ./manage.py cms runserver 0.0.0.0:8000
|
||||||
ports:
|
ports:
|
||||||
- "8001:8000"
|
- "8001:8000"
|
||||||
lms_worker:
|
lms-worker:
|
||||||
<<: *openedx-service
|
<<: *openedx-service
|
||||||
cms_worker:
|
cms-worker:
|
||||||
<<: *openedx-service
|
<<: *openedx-service
|
||||||
|
|
||||||
# Additional service for watching theme changes
|
# Additional service for watching theme changes
|
||||||
|
@ -150,7 +150,7 @@ services:
|
|||||||
############# LMS and CMS workers
|
############# LMS and CMS workers
|
||||||
|
|
||||||
{% if ACTIVATE_LMS %}
|
{% if ACTIVATE_LMS %}
|
||||||
lms_worker:
|
lms-worker:
|
||||||
image: {{ DOCKER_REGISTRY }}{{ DOCKER_IMAGE_OPENEDX }}
|
image: {{ DOCKER_REGISTRY }}{{ DOCKER_IMAGE_OPENEDX }}
|
||||||
environment:
|
environment:
|
||||||
SERVICE_VARIANT: lms
|
SERVICE_VARIANT: lms
|
||||||
@ -169,7 +169,7 @@ services:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if ACTIVATE_CMS %}
|
{% if ACTIVATE_CMS %}
|
||||||
cms_worker:
|
cms-worker:
|
||||||
image: {{ DOCKER_REGISTRY }}{{ DOCKER_IMAGE_OPENEDX }}
|
image: {{ DOCKER_REGISTRY }}{{ DOCKER_IMAGE_OPENEDX }}
|
||||||
environment:
|
environment:
|
||||||
SERVICE_VARIANT: cms
|
SERVICE_VARIANT: cms
|
||||||
|
Loading…
Reference in New Issue
Block a user