mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-04 20:55:19 +02:00
refactor docker startup to use supervisord
This commit is contained in:
parent
dbd417ca87
commit
4ccfa6e42c
4 changed files with 22 additions and 6 deletions
|
@ -62,5 +62,8 @@ fi
|
|||
|
||||
cat /code/adventurelog.txt
|
||||
|
||||
# Start gunicorn
|
||||
gunicorn main.wsgi:application --bind [::]:8000 --timeout 120 --workers 2
|
||||
# Start Gunicorn in foreground
|
||||
exec gunicorn main.wsgi:application \
|
||||
--bind 0.0.0.0:8000 \
|
||||
--workers 4 \
|
||||
--timeout 120
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue