Changes committed
This commit is contained in:
11
docengine/app.py
Normal file
11
docengine/app.py
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
from fastapi import FastAPI
|
||||
app = FastAPI()
|
||||
|
||||
@app.get("/health")
|
||||
def health():
|
||||
return {"status":"UP"}
|
||||
|
||||
if __name__ == "__main__":
|
||||
import uvicorn
|
||||
uvicorn.run(app, host="0.0.0.0", port=7989)
|
||||
Reference in New Issue
Block a user