diff --git a/bin/docker_start.sh b/bin/docker_start.sh index c7a2bfccb4..93c18db824 100755 --- a/bin/docker_start.sh +++ b/bin/docker_start.sh @@ -41,8 +41,7 @@ export UWSGI_SINGLE_INTERPRETER=1 export UWSGI_ENABLE_THREADS=1 # --- HTTP Settings -# Use http rather than wsgi protocol (also note that UWSGI_PORT is not a native uwsgi option). -export UWSGI_HTTP=${UWSGI_PORT:-8000} +export UWSGI_HTTP=0.0.0.0:${PORT:-8000} export UWSGI_HTTP_KEEPALIVE=${UWSGI_HTTP_KEEPALIVE:-1} export UWSGI_HTTP_TIMEOUT=${UWSGI_HTTP_TIMEOUT:-120} diff --git a/docker-compose.yml b/docker-compose.yml index fc43acf257..59e47c7426 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -86,7 +86,7 @@ services: # Overridable uwsgi settings - UWSGI_PROCESSES - UWSGI_THREADS - - UWSGI_PORT + - PORT - UWSGI_HTTP_KEEPALIVE - UWSGI_HTTP_TIMEOUT - UWSGI_HARAKIRI