feat: migrar backend unificado a Go 1.27 + SPA Vite embebido

This commit is contained in:
urieljareth
2026-11-28 09:20:55 -06:00
parent 4f64487b88
commit b5ebcd0b86
332 changed files with 29135 additions and 37275 deletions
+6 -18
View File
@@ -6,29 +6,17 @@ services:
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
# Se conserva el nombre fisico de BD para no romper el volumen postgres_data.
# Se conserva el nombre físico de BD para no romper el volumen postgres_data.
POSTGRES_DB: cotizador_e3
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
api:
build: ./api
container_name: cotizador-uj-api
restart: unless-stopped
ports:
- "8000:8000"
environment:
- DB_HOST=postgres
- DB_PORT=5432
- DB_USER=postgres
- DB_PASSWORD=postgres
- DB_NAME=cotizador_e3
- API_KEY=${API_KEY:-change-me}
- JWT_SECRET=${JWT_SECRET:-change-me}
depends_on:
- postgres
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d cotizador_e3"]
interval: 5s
timeout: 5s
retries: 20
volumes:
postgres_data: