Refactor GTM Architect to v2: Python-driven architecture, 9-phase process, new DB and Docker setup

This commit is contained in:
2026-01-02 19:00:05 +00:00
parent a3dc012da8
commit b47a65eb83
300 changed files with 68128 additions and 4782 deletions

View File

@@ -88,25 +88,22 @@ services:
gtm-app:
build:
context: .
dockerfile: gtm-architect/Dockerfile
container_name: gtm-architect
context: ./gtm-architect
dockerfile: Dockerfile
container_name: gtm-app
restart: unless-stopped
ports:
- "3005:3005"
volumes:
# Sideloading for live development
- ./gtm-architect:/app/gtm-architect
- ./gtm_architect_orchestrator.py:/app/gtm_architect_orchestrator.py
- ./gtm-architect/server.cjs:/app/server.cjs
- ./helpers.py:/app/helpers.py
- ./config.py:/app/config.py
# Database Persistence
- ./gtm_db_manager.py:/app/gtm_db_manager.py
- ./gtm_projects.db:/app/gtm_projects.db
# Mount the API key to the location expected by config.py
- ./gemini_api_key.txt:/app/api_key.txt
# Mount Logs
- ./Log_from_docker:/app/Log_from_docker
# Mount API keys
- ./gemini_api_key.txt:/app/gemini_api_key.txt
- ./serpapikey.txt:/app/serpapikey.txt
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}
- SERPAPI_API_KEY=${SERPAPI_API_KEY}
- PYTHONUNBUFFERED=1
- PYTHONUNBUFFERED=1
- DB_PATH=/app/gtm_projects.db