Changeset View
Changeset View
Standalone View
Standalone View
docker/services/swh-web/entrypoint.sh
Show All 28 Lines | *) | ||||
echo "Creating admin user" | echo "Creating admin user" | ||||
echo "$create_admin_script" | python3 -m swh.web.manage shell | echo "$create_admin_script" | python3 -m swh.web.manage shell | ||||
echo "starting the swh-web server" | echo "starting the swh-web server" | ||||
exec gunicorn --bind 0.0.0.0:5004 \ | exec gunicorn --bind 0.0.0.0:5004 \ | ||||
--threads 2 \ | --threads 2 \ | ||||
--workers 2 \ | --workers 2 \ | ||||
--timeout 3600 \ | --timeout 3600 \ | ||||
--config 'python:swh.web.gunicorn_config' \ | |||||
'django.core.wsgi:get_wsgi_application()' | 'django.core.wsgi:get_wsgi_application()' | ||||
esac | esac |