Deploy inicial: API FastAPI + infra Podman/Caddy + docs
- App FastAPI (main.py, app/): rotas /health e /dados_retorno, middleware anti-scanner, logging configurado - Config via configs.json (Pydantic); segredos fora do codigo e do git (.gitignore) - Dockerfile (oracledb thin, HEALTHCHECK) + requirements.txt + .dockerignore - Deploy Podman/Quadlet + Caddy em deploy/ - Docs: CLAUDE.md + docs/ (arquitetura, deploy, known-issues) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
commit
15c89c9038
22 changed files with 1397 additions and 0 deletions
12
app/v1/holmes/holmes.py
Normal file
12
app/v1/holmes/holmes.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
from app.services.holmes import buscar_processo
|
||||
from fastapi import APIRouter
|
||||
|
||||
holmes_router = APIRouter()
|
||||
|
||||
@holmes_router.post(
|
||||
path="/dados_compras",
|
||||
)
|
||||
def obter_dados_compras(
|
||||
dados_front
|
||||
):
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue