From 64d0a1bfb3f341369a7e209b2b00cdc55629a98d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Sun, 17 Nov 2024 16:36:36 +0100 Subject: [PATCH] Make gunicorn listen to all incoming IPs on Port 8000. This is necessary to use a spearate net with the postgres container. --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 42b543c..9295252 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,4 +3,4 @@ source /home/shimatta/kenkyusho/.venv/bin/activate cd /home/shimatta/kenkyusho/shimatta_kenkyusho python manage.py migrate --settings shimatta_kenkyusho.settings_production python manage.py collectstatic --settings shimatta_kenkyusho.settings_production --noinput -gunicorn -w 4 shimatta_kenkyusho.wsgi:application +gunicorn -w 4 --bind 0.0.0.0:8000 shimatta_kenkyusho.wsgi:application