mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-13 14:43:03 +00:00
Set number of gunicorn workers to 3 for notes and forum
This commit is contained in:
parent
9a782c5c37
commit
1046b48cc1
@ -12,4 +12,4 @@ WORKDIR /openedx/edx-notes-api
|
|||||||
RUN pip install -r requirements/base.txt
|
RUN pip install -r requirements/base.txt
|
||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
CMD gunicorn --name notes --bind=0.0.0.0:8000 --max-requests=1000 notesserver.wsgi:application
|
CMD gunicorn --workers=3 --name notes --bind=0.0.0.0:8000 --max-requests=1000 notesserver.wsgi:application
|
||||||
|
@ -6,10 +6,10 @@ RUN apt update && \
|
|||||||
apt install -y language-pack-en git python-pip libmysqlclient-dev
|
apt install -y language-pack-en git python-pip libmysqlclient-dev
|
||||||
|
|
||||||
RUN mkdir /openedx
|
RUN mkdir /openedx
|
||||||
RUN git clone https://github.com/edx/xqueue --branch open-release/ironwood.1 --depth 1 /openedx/xqueue
|
RUN git clone https://github.com/edx/xqueue --branch open-release/ironwood.1 --depth 1 /openedx/xqueue
|
||||||
WORKDIR /openedx/xqueue
|
WORKDIR /openedx/xqueue
|
||||||
|
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
EXPOSE 8040
|
EXPOSE 8040
|
||||||
CMD gunicorn --name xqueue --bind=0.0.0.0:8040 --max-requests=1000 xqueue.wsgi:application
|
CMD gunicorn --workers=3 --name xqueue --bind=0.0.0.0:8040 --max-requests=1000 xqueue.wsgi:application
|
||||||
|
Loading…
Reference in New Issue
Block a user