6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-09-29 04:39:01 +00:00

Fix gunicorn config option

This commit is contained in:
Régis Behmo 2019-04-25 22:26:56 +02:00
parent d5942d538f
commit 24cba3f106

View File

@ -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