1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

change docker

This commit is contained in:
MoonTestUse1
2024-12-23 23:34:41 +06:00
parent ae3e0a1f0a
commit 4c3c1bfc6d
4 changed files with 16 additions and 23 deletions

View File

@@ -17,7 +17,7 @@ async def run_bot():
async def run_api():
"""Run FastAPI application"""
config = uvicorn.Config(app, host=["localhost", "185.139.70.62", "46.233.242.206"], port=8080, reload=True)
config = uvicorn.Config(app, host=["0.0.0.0"], port=8000, reload=True)
server = uvicorn.Server(config)
try:
await server.serve()