feat: docker and nomad config

This commit is contained in:
2026-04-03 14:46:27 +02:00
parent 576af715bd
commit f082a30b7f
7 changed files with 271 additions and 38 deletions

View File

@@ -4,7 +4,7 @@ from pathlib import Path
from fastapi import FastAPI
from fastapi.staticfiles import StaticFiles
from pages import router as pages_router
from pages import router as pages_router, ensure_default_pages
from graph import router as graph_router
from docker_utils import router as docker_router
from converter import router as converter_router
@@ -17,6 +17,11 @@ app.include_router(graph_router, prefix="/api")
app.include_router(docker_router, prefix="/api")
@app.on_event("startup")
async def startup():
ensure_default_pages()
@app.get("/api/health")
async def health():
return {"status": "ok"}