mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-13 14:43:03 +00:00
Fix gunicorn config option
This commit is contained in:
parent
d5942d538f
commit
24cba3f106
@ -89,9 +89,7 @@ ENV SETTINGS tutor.production
|
|||||||
# Entrypoint will fix permissions of all files and run commands as openedx
|
# Entrypoint will fix permissions of all files and run commands as openedx
|
||||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||||
|
|
||||||
# Copy gunicorn settings file
|
|
||||||
COPY gunicorn_conf.py /openedx/gunicorn_conf.py
|
|
||||||
|
|
||||||
# Run server
|
# Run server
|
||||||
|
COPY gunicorn_conf.py /openedx/gunicorn_conf.py
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
CMD gunicorn -c file:/openedx/gunicorn_conf.py --name ${SERVICE_VARIANT} --bind=0.0.0.0:8000 --max-requests=1000 ${SERVICE_VARIANT}.wsgi:application
|
CMD gunicorn -c /openedx/gunicorn_conf.py --name ${SERVICE_VARIANT} --bind=0.0.0.0:8000 --max-requests=1000 ${SERVICE_VARIANT}.wsgi:application
|
||||||
|
Loading…
Reference in New Issue
Block a user