mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-06 07:30:40 +00:00
Fix broken celery tasks in CMS
Duplicate "environment" statement in the docker-compose.yml was causing the first one to be forgotten. Hence, the cms celery worker was running with LMS settings. Close #72
This commit is contained in:
parent
96cd7c82d7
commit
30b23462d1
@ -1,5 +1,6 @@
|
||||
# Changelog
|
||||
|
||||
- 2018-09-30 [Bugfix] Fix CMS celery worker, including export tasks
|
||||
- 2018-09-30 [Improvement] Simplify boolean feature flags definition
|
||||
- 2018-09-29 [Improvement] Add logging commands
|
||||
- 2018-09-29 [Improvement] Add self-documented help with "make help"
|
||||
|
@ -121,10 +121,9 @@ services:
|
||||
context: ./openedx
|
||||
environment:
|
||||
SERVICE_VARIANT: lms
|
||||
C_FORCE_ROOT: "1" # run celery tasks as root #nofear
|
||||
command: ./manage.py lms celery worker --loglevel=info --hostname=edx.lms.core.default.%%h --maxtasksperchild 100
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
C_FORCE_ROOT: "1" # run celery tasks as root #nofear
|
||||
volumes:
|
||||
- ./config/openedx:/openedx/config
|
||||
- ./data/lms_worker:/openedx/data
|
||||
@ -137,10 +136,9 @@ services:
|
||||
context: ./openedx
|
||||
environment:
|
||||
SERVICE_VARIANT: cms
|
||||
C_FORCE_ROOT: "1" # run celery tasks as root #nofear
|
||||
command: ./manage.py cms celery worker --loglevel=info --hostname=edx.cms.core.default.%%h --maxtasksperchild 100
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
C_FORCE_ROOT: "1" # run celery tasks as root #nofear
|
||||
volumes:
|
||||
- ./config/openedx:/openedx/config
|
||||
- ./data/cms_worker:/openedx/data
|
||||
|
Loading…
Reference in New Issue
Block a user