Commit Graph

15 Commits

Author SHA1 Message Date
408fdd2571 Cleanup: Removed unnecessary genderize mount and fixed filename case in config 2026-01-03 12:23:23 +00:00
f91f9a2e82 Fix: Gemini API modernization, dynamic model selection, and config path corrections 2026-01-03 12:19:51 +00:00
348c758392 fix(config): Ensure API keys are loaded by orchestrator
- Reverts docker-compose.yml to use volume mount for gemini_api_key.txt, due to format constraints.
- Restores and refines Config.load_api_keys() in config.py.
- **Crucially, calls Config.load_api_keys() at the start of gtm_architect_orchestrator.py to ensure keys are loaded.**
- Adjusts _get_gemini_api_key in helpers.py to prioritize keys from Config.API_KEYS.
- This definitively addresses the 'API Key missing' error by guaranteeing key initialization.
2026-01-03 09:33:33 +00:00
fb92142151 refactor(config): Switch to environment variables for API keys
- Modifies docker-compose.yml to use  for injecting the Gemini API key, which is more robust than volume mounting.
- Updates helpers.py to prioritize reading the API key from the  environment variable.
- Removes the now-redundant file-based key loading logic from config.py and the Dockerfile.
- This change completely bypasses the problematic file system interactions within the container, providing a definitive fix for the 'API Key missing' error.
2026-01-03 09:30:34 +00:00
60b73d9da7 Finalize GTM v2 migration: Fix API key mounting and Docker config 2026-01-02 19:11:51 +00:00
b2a4d3a453 Fix Docker build context and file paths for gtm-app 2026-01-02 19:07:34 +00:00
416cb28446 Refactor GTM Architect to v2: Python-driven architecture, 9-phase process, new DB and Docker setup 2026-01-02 19:00:05 +00:00
21ea1e478c Fix GTM Architect: Robust prompt syntax, Gemini API migration, Docker logging 2026-01-01 22:39:43 +00:00
df58878973 fix(gtm-architect): Stabilize Docker environment and fix frontend
- Refactor Docker build process for gtm-app to ensure reliability
- Correct volume mounts and build context in docker-compose.yml to prevent stale code
- Fix frontend 404 error by using relative paths in index.html
- Ensure API key is correctly mounted into the container
- Stabilize Node.js to Python data passing via explicit --data argument
- Update gtm_architect_documentation.md with extensive troubleshooting guide
2026-01-01 08:36:48 +00:00
c66d320ef9 fix(gtm): Increase server timeout to 600s and add missing volume mounts to prevent 502 errors 2025-12-31 13:08:09 +00:00
9964bf474f chore(gtm): Optimize Docker container with multi-stage build and flat structure 2025-12-31 12:58:54 +00:00
2b4d8d6f7b feat(gtm-architect): Integrate GTM Architect app with Python backend, DB persistence, and Docker stack 2025-12-31 12:38:28 +00:00
7788d02342 feat: Integrated SQLite database and project history into B2B Marketing Assistant
- market_db_manager.py: Made DB_PATH configurable via environment variable.

- Dockerfile.b2b: Included market_db_manager.py in the B2B container image.

- docker-compose.yml: Configured separate DB paths and volumes for Market Intel and B2B Assistant.

- B2B Server: Added API routes for project management (list, load, save, delete).

- B2B UI: Implemented auto-save and a 'Project History' modal for loading past runs.
2025-12-29 16:05:46 +00:00
db8ec843d9 Consolidate tools into a secure Docker architecture with landing page
- Implement a central reverse proxy (Nginx) with Basic Auth on port 8090.
- Create a unified landing page (dashboard) to access B2B Assistant and Market Intelligence.
- Update frontends with relative API paths and base paths for subdirectory routing (/b2b/, /market/).
- Optimize Docker builds with .dockerignore and a Python-based image for market-backend.
- Enable code sideloading for Python logic via Docker volumes.
- Fix TypeScript errors in general-market-intelligence regarding ImportMeta.
2025-12-29 05:19:53 +00:00
b5480717b2 chore(deployment): add docker-compose and nginx setup for production
- Added Dockerfile and nginx.conf for frontend production build.
- Added docker-compose.yml to orchestrate backend and frontend.
- Updated geminiService.ts to support relative API paths via Nginx proxy.
- Updated documentation with deployment instructions for Synology/Docker.
2025-12-22 16:14:08 +00:00