6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2025-01-24 14:08:23 +00:00

refactor: move uswgi out of platform directory (#1036)

This commit is contained in:
Syed Muhammad Dawoud Sheraz Ali 2024-07-30 16:39:41 +05:00 committed by GitHub
parent b25937658d
commit a97a7b0abd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View File

@ -301,10 +301,10 @@ FROM production AS final
ENV UWSGI_WORKERS=2
# Copy the default uWSGI configuration
COPY --chown=app:app settings/uwsgi.ini .
COPY --chown=app:app settings/uwsgi.ini /openedx
# Run server
CMD ["uwsgi", "uwsgi.ini"]
CMD ["uwsgi", "/openedx/uwsgi.ini"]
{{ patch("openedx-dockerfile-final") }}

View File

@ -95,7 +95,7 @@ spec:
name: settings-cms
- mountPath: /openedx/config
name: config
- mountPath: /openedx/edx-platform/uwsgi.ini
- mountPath: /openedx/uwsgi.ini
name: uwsgi-config
subPath: uwsgi.ini
resources:
@ -204,7 +204,7 @@ spec:
name: settings-cms
- mountPath: /openedx/config
name: config
- mountPath: /openedx/edx-platform/uwsgi.ini
- mountPath: /openedx/uwsgi.ini
name: uwsgi-config
subPath: uwsgi.ini
resources:

View File

@ -109,7 +109,7 @@ services:
- ../apps/openedx/settings/lms:/openedx/edx-platform/lms/envs/tutor:ro
- ../apps/openedx/settings/cms:/openedx/edx-platform/cms/envs/tutor:ro
- ../apps/openedx/config:/openedx/config:ro
- ../apps/openedx/uwsgi.ini:/openedx/edx-platform/uwsgi.ini:ro
- ../apps/openedx/uwsgi.ini:/openedx/uwsgi.ini:ro
- ../../data/lms:/openedx/data
- ../../data/openedx-media:/openedx/media
{%- for mount in iter_mounts(MOUNTS, "openedx", "lms") %}
@ -135,7 +135,7 @@ services:
- ../apps/openedx/settings/lms:/openedx/edx-platform/lms/envs/tutor:ro
- ../apps/openedx/settings/cms:/openedx/edx-platform/cms/envs/tutor:ro
- ../apps/openedx/config:/openedx/config:ro
- ../apps/openedx/uwsgi.ini:/openedx/edx-platform/uwsgi.ini:ro
- ../apps/openedx/uwsgi.ini:/openedx/uwsgi.ini:ro
- ../../data/cms:/openedx/data
- ../../data/openedx-media:/openedx/media
{%- for mount in iter_mounts(MOUNTS, "openedx", "cms") %}