mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-13 06:37:46 +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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
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