Commit Graph

12 Commits

Author SHA1 Message Date
b35a53b755 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
6118cfb5a0 Finalize GTM v2 migration: Fix API key mounting and Docker config 2026-01-02 19:11:51 +00:00
9e597d98d4 Fix Docker build context and file paths for gtm-app 2026-01-02 19:07:34 +00:00
b47a65eb83 Refactor GTM Architect to v2: Python-driven architecture, 9-phase process, new DB and Docker setup 2026-01-02 19:00:05 +00:00
1fe17d88bc Fix GTM Architect: Robust prompt syntax, Gemini API migration, Docker logging 2026-01-01 22:39:43 +00:00
05753edbb1 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
a1f9619d01 fix(gtm): Increase server timeout to 600s and add missing volume mounts to prevent 502 errors 2025-12-31 13:08:09 +00:00
f6651bacfc chore(gtm): Optimize Docker container with multi-stage build and flat structure 2025-12-31 12:58:54 +00:00
682b736e01 feat(gtm-architect): Integrate GTM Architect app with Python backend, DB persistence, and Docker stack 2025-12-31 12:38:28 +00:00
0a2d6076c4 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
b78e2fca59 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
ba5ed0516b 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