Commit Graph

17 Commits

Author SHA1 Message Date
4da360e141 fix(deploy): corregir vars de producción que causaban localhost en KC URLs
docker-compose.prod.yml:
- Agrega SITE_URL=https://anexo76-dev.aduanasoft.com hardcodeado (no depende
  del .env raíz). resolveSystemBaseUrl() lo usa como fallback cuando
  ORIGIN tiene un valor localhost que pisó el default del compose.
- Agrega VITE_HUB_URL=https://workspace.aduanasoft.com para que
  getWorkspaceBaseUrl() no dependa de VITE_HUB_URL del .env raíz dev.
- Documenta el problema: root .env con ORIGIN=localhost pisa el default.

Dockerfile.prod:
- Agrega ARG/ENV VITE_KEYCLOAK_REALM (faltaba en los build-args de Jenkins).
- Agrega ARG/ENV VITE_HUB_URL con default workspace.aduanasoft.com.

.env.example raíz:
- Agrega advertencia sobre ORIGIN, VITE_HUB_URL y APP_PUBLIC_URL con
  instrucciones explícitas de cómo corregirlos en producción.
- Extrae estos valores al bloque documentado para que sean visibles.

Root cause: el deploy en producción ejecuta
  docker compose -f docker-compose.prod.yml up
  que carga automáticamente el .env raíz con ORIGIN=http://localhost:5173,
  pisando el default correcto del prod compose.
  url.origin en SvelteKit = localhost:5173 → redirect_uri con localhost.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22 08:58:29 -05:00
edafbde59d fix/docker-compose-env-variables: remove DODA_API variables and clean up production configuration 2026-04-27 12:17:19 -05:00
8f4fd7ee90 feature/correcion-hash 2026-04-13 15:57:40 -06:00
9d8d27a9d0 fix/variable-encriptado 2026-04-07 14:55:55 -06:00
9439a6a775 feature/minio-s3-integration 2026-04-02 13:35:18 -06:00
4302bd4655 feat: Update environment variables and improve Sitar API configuration 2026-03-03 12:58:00 -06:00
e4d4d0cce6 Puestas de seguridad y limpieza de codigo 2026-02-25 10:34:11 -06:00
17c1ef3947 Nuevo start con interaccion para elegir que tipo de servidor estamos 2026-02-23 12:15:44 -06:00
a9b9d8290b editando el ejemplo env 2026-02-23 11:27:16 -06:00
f15d40f697 Nuevas funcionalidades y correcciones 2026-02-23 10:54:39 -06:00
bcc758953f Nueva funcionalidad 2026-02-19 11:34:03 -06:00
52708c5ba0 feat(api): integrate Sitar API configuration and authentication 2026-01-23 13:42:58 -06:00
AlexeerCT
97b3ea52bc feat: Update environment variables and Docker configurations for production setup 2025-12-31 10:37:23 -06:00
73a535291a feat: implement sidebar components and authentication flow
- Added sidebar menu components including sidebar-menu-item, sidebar-menu-skeleton, sidebar-menu-sub-button, sidebar-menu-sub-item, sidebar-menu-sub, sidebar-menu, sidebar-provider, sidebar-rail, sidebar-separator, sidebar-trigger, and sidebar.
- Introduced skeleton loading states for sidebar items.
- Integrated tooltip components for enhanced user interaction.
- Developed mobile responsiveness using media queries.
- Established authentication flow with Keycloak, including login, logout, and token management.
- Implemented server-side redirection based on authentication status.
- Enhanced error handling and logging for authentication processes.
2025-11-01 20:04:43 -05:00
f1a7087779 fix: update API URL paths in environment and health check scripts 2025-11-01 14:18:25 -05:00
1961296593 feat(auth): implement OAuth2 exchange code flow for Microsoft login, update environment configurations, and enhance frontend SSO handling 2025-10-20 19:25:29 -05:00
2a10d7d267 feat: Add frontend and backend initialization scripts, implement Keycloak and PostgreSQL setup
- Implemented SvelteKit frontend with authentication callback handling.
- Created demo routes and paraglide localization functionality.
- Added health check and entrypoint scripts for backend services.
- Established PostgreSQL and Keycloak initialization scripts with health checks.
- Introduced models for database schema using SQLAlchemy.
- Configured Vite and SvelteKit for development and testing environments.
- Added health check script to verify service statuses and resource usage.
- Created Docker entrypoint scripts for seamless service startup.
2025-10-19 00:14:06 -05:00