forked from polka_billy/porridger
Updated deployment instructions and container
This commit is contained in:
@ -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())
|
||||
|
Reference in New Issue
Block a user