mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-12 09:51:08 +00:00
chore: set CMS_CFG instead of STUDIO_CFG
In the LMS/CMS Dockerfile, the env var STUDIO_CFG is set in order to point CMS at its configuration json/yaml file. Since https://github.com/edx/edx-platform/pull/29534 (which introduced 0013-cms-vs-studio.rst), the STUDIO_CFG variable has been deprecated in favor of CMS_CFG. This change updates the Dockerfile to reflect the new preferred environment variable. The only noticeable impact of this change is that it will remove a depreation warning from Django startup for tutor uses running off of Open edX master.
This commit is contained in:
parent
83e09bb25b
commit
71b4c14d69
@ -2,6 +2,7 @@
|
||||
|
||||
Note: Breaking changes between versions are indicated by "💥".
|
||||
|
||||
- [Improvement] Point CMS at its config file using ``CMS_CFG`` environment variable instead of deprecated ``STUDIO_CFG``.
|
||||
- [Bugfix] Start MongoDB when running migrations, because a new data migration fails if MongoDB is not running
|
||||
- [Feature] Better support of Caddy as a load balancer in Kubernetes:
|
||||
- Make it possible to start/stop a selection of resources with ``tutor k8s start/stop [names...]``.
|
||||
|
@ -143,7 +143,7 @@ RUN pip install -r requirements/edx/local.in
|
||||
RUN mkdir -p /openedx/config ./lms/envs/tutor ./cms/envs/tutor
|
||||
COPY --chown=app:app revisions.yml /openedx/config/
|
||||
ENV LMS_CFG /openedx/config/lms.env.json
|
||||
ENV STUDIO_CFG /openedx/config/cms.env.json
|
||||
ENV CMS_CFG /openedx/config/cms.env.json
|
||||
ENV REVISION_CFG /openedx/config/revisions.yml
|
||||
COPY --chown=app:app settings/lms/*.py ./lms/envs/tutor/
|
||||
COPY --chown=app:app settings/cms/*.py ./cms/envs/tutor/
|
||||
|
Loading…
Reference in New Issue
Block a user