from fastapi import FastAPI from fastapi.responses import HTMLResponse import os app = FastAPI() @app.get("/", response_class=HTMLResponse) async def home(): return """ Hermes Demo on Coolify

Hallo from Hermes! Deployed via Gitea + Coolify

Project: xdxzkraicftvn71gpje7mpjw

Source: gitea.hellobaka.com/opatel99/hermes-demo

Status: live

/health | /api/hello

""" @app.get("/health") async def health(): return {"status": "ok"} @app.get("/api/hello") async def hello(): return {"message": "Hello from Hermes + Coolify + Gitea", "project": "xdxzkraicftvn71gpje7mpjw"}