Updated deployment instructions and container

This commit is contained in:
2023-08-16 09:35:22 +03:00
parent 0468125b23
commit f345ed6587
4 changed files with 25 additions and 26 deletions

View File

@ -16,7 +16,7 @@ class Server(uvicorn.Server):
async def main():
"Run scheduler and the API"
server = Server(config=uvicorn.Config(app_fastapi, workers=1, loop="asyncio"))
server = Server(config=uvicorn.Config(app_fastapi, workers=1, loop="asyncio", host="0.0.0.0"))
api = asyncio.create_task(server.serve())
sched = asyncio.create_task(app_rocketry.serve())