We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 06541ab + a7ced2c commit 4ddcd7fCopy full SHA for 4ddcd7f
bin/docker_start.sh
@@ -16,7 +16,6 @@ uwsgi_port=${UWSGI_PORT:-8000}
16
uwsgi_processes=${UWSGI_PROCESSES:-4}
17
uwsgi_threads=${UWSGI_THREADS:-8}
18
uwsgi_http_timeout=${UWSGI_HTTP_TIMEOUT:-120}
19
-uwsgi_max_requests=${UWSGI_MAX_REQUESTS:-100}
20
21
# Apply database migrations
22
>&2 echo "Apply database migrations"
@@ -25,9 +24,9 @@ python src/manage.py migrate
25
24
# Start server
26
>&2 echo "Starting server"
27
exec uwsgi \
+ --die-on-term \
28
--http :$uwsgi_port \
29
--http-keepalive \
30
- --max-requests $uwsgi_max_requests \
31
--http-timeout $uwsgi_http_timeout \
32
--module open_inwoner.wsgi \
33
--static-map /static=/app/static \
0 commit comments