Change listening address

This commit is contained in:
riley 2021-08-24 22:56:16 -04:00
parent ab0ec1badc
commit 313a1ba43d

View file

@ -2,5 +2,8 @@ import sys
from core.wrapper import Wrapper 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() api.start()