Add corporate brain v1 knowledge base

This commit is contained in:
2026-06-20 03:41:50 +00:00
commit 6e53e535d4
24 changed files with 962 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
# Runbook Angular + Docker + Nginx
## Objetivo
Compilar Angular y servirlo usando Nginx en contenedor.
## Flujo
Angular source
npm install
npm build
Docker multi-stage
Nginx Alpine
Imagen final
Deploy
## Reglas
- Usar nginx.conf propio.
- Configurar fallback para SPA.
- No exponer source maps en producción si no aplica.
- Usar variables de entorno por ambiente.
+26
View File
@@ -0,0 +1,26 @@
# Runbook CI/CD
## Pipeline mínimo
1. Checkout.
2. Restore dependencies.
3. Build.
4. Test.
5. Static analysis.
6. Security scan.
7. Docker build.
8. Push image.
9. Deploy.
10. Smoke test.
## Ambientes
- dev automático.
- qa con validación.
- prod con aprobación.
## Reglas
- Ningún despliegue manual a producción.
- Todo cambio debe venir de repositorio.
- Todo release debe tener trazabilidad.
+29
View File
@@ -0,0 +1,29 @@
# Runbook .NET + Docker
## Objetivo
Construir y ejecutar APIs .NET en contenedor.
## Flujo
Código .NET
dotnet restore
dotnet build
dotnet test
dotnet publish
runtime image
container
## Reglas
- Multi-stage build.
- Usuario no root.
- Healthcheck.
- Variables de entorno.
- Logs stdout.