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
19
.dockerignore
Normal file
19
.dockerignore
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Ambiente virtual / caches (nunca vao pra imagem)
|
||||
.venv/
|
||||
__pycache__/
|
||||
*.pyc
|
||||
.ruff_cache/
|
||||
|
||||
# Git
|
||||
.git/
|
||||
.gitignore
|
||||
|
||||
# SEGREDOS — nunca bakear na imagem (montar por volume em runtime)
|
||||
configs.json
|
||||
.env
|
||||
certs/
|
||||
|
||||
# Ruido
|
||||
logs/
|
||||
tests/
|
||||
*.md
|
||||
Loading…
Add table
Add a link
Reference in a new issue