diff --git a/main.py b/main.py index be01d0d..cb47d51 100644 --- a/main.py +++ b/main.py @@ -2,5 +2,8 @@ import sys from core.wrapper import Wrapper -api = Wrapper(['gunicorn', "-k", "uvicorn.workers.UvicornWorker", "--log-config", "log.conf", 'api:api'], sys.stdout) +api = Wrapper(['gunicorn', "-k", "uvicorn.workers.UvicornWorker", + "--log-config", "log.conf", + '--bind', '0.0.0.0:8000', + 'api:api'], sys.stdout) api.start()