mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-22 19:15:08 +03:00
Implement real, working microservices architecture
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
from fastapi import FastAPI
|
||||
|
||||
# Gateway service - handles complex operations that Caddy cannot
|
||||
# This will be expanded later with routing logic to other services
|
||||
|
||||
if __name__ == "__main__":
|
||||
app = FastAPI(title="Gateway Service")
|
||||
|
||||
import os, uvicorn
|
||||
uvicorn.run(app, host="0.0.0.0", port=int(os.getenv("PORT", 8301)))
|
||||
Reference in New Issue
Block a user