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:
parent
b25937658d
commit
a97a7b0abd
@ -301,10 +301,10 @@ FROM production AS final
|
|||||||
ENV UWSGI_WORKERS=2
|
ENV UWSGI_WORKERS=2
|
||||||
|
|
||||||
# Copy the default uWSGI configuration
|
# Copy the default uWSGI configuration
|
||||||
COPY --chown=app:app settings/uwsgi.ini .
|
COPY --chown=app:app settings/uwsgi.ini /openedx
|
||||||
|
|
||||||
# Run server
|
# Run server
|
||||||
CMD ["uwsgi", "uwsgi.ini"]
|
CMD ["uwsgi", "/openedx/uwsgi.ini"]
|
||||||
|
|
||||||
{{ patch("openedx-dockerfile-final") }}
|
{{ patch("openedx-dockerfile-final") }}
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ spec:
|
|||||||
name: settings-cms
|
name: settings-cms
|
||||||
- mountPath: /openedx/config
|
- mountPath: /openedx/config
|
||||||
name: config
|
name: config
|
||||||
- mountPath: /openedx/edx-platform/uwsgi.ini
|
- mountPath: /openedx/uwsgi.ini
|
||||||
name: uwsgi-config
|
name: uwsgi-config
|
||||||
subPath: uwsgi.ini
|
subPath: uwsgi.ini
|
||||||
resources:
|
resources:
|
||||||
@ -204,7 +204,7 @@ spec:
|
|||||||
name: settings-cms
|
name: settings-cms
|
||||||
- mountPath: /openedx/config
|
- mountPath: /openedx/config
|
||||||
name: config
|
name: config
|
||||||
- mountPath: /openedx/edx-platform/uwsgi.ini
|
- mountPath: /openedx/uwsgi.ini
|
||||||
name: uwsgi-config
|
name: uwsgi-config
|
||||||
subPath: uwsgi.ini
|
subPath: uwsgi.ini
|
||||||
resources:
|
resources:
|
||||||
|
@ -109,7 +109,7 @@ services:
|
|||||||
- ../apps/openedx/settings/lms:/openedx/edx-platform/lms/envs/tutor:ro
|
- ../apps/openedx/settings/lms:/openedx/edx-platform/lms/envs/tutor:ro
|
||||||
- ../apps/openedx/settings/cms:/openedx/edx-platform/cms/envs/tutor:ro
|
- ../apps/openedx/settings/cms:/openedx/edx-platform/cms/envs/tutor:ro
|
||||||
- ../apps/openedx/config:/openedx/config: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/lms:/openedx/data
|
||||||
- ../../data/openedx-media:/openedx/media
|
- ../../data/openedx-media:/openedx/media
|
||||||
{%- for mount in iter_mounts(MOUNTS, "openedx", "lms") %}
|
{%- 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/lms:/openedx/edx-platform/lms/envs/tutor:ro
|
||||||
- ../apps/openedx/settings/cms:/openedx/edx-platform/cms/envs/tutor:ro
|
- ../apps/openedx/settings/cms:/openedx/edx-platform/cms/envs/tutor:ro
|
||||||
- ../apps/openedx/config:/openedx/config: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/cms:/openedx/data
|
||||||
- ../../data/openedx-media:/openedx/media
|
- ../../data/openedx-media:/openedx/media
|
||||||
{%- for mount in iter_mounts(MOUNTS, "openedx", "cms") %}
|
{%- for mount in iter_mounts(MOUNTS, "openedx", "cms") %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user