Make gunicorn listen to all incoming IPs on Port 8000. This is necessary to use a spearate net with the postgres container.
This commit is contained in:
parent
b057fedb5f
commit
64d0a1bfb3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user