From 5b48573df0061144c3661a0109dfd9069bf8d67e Mon Sep 17 00:00:00 2001 From: Floke Date: Sun, 8 Mar 2026 11:09:11 +0000 Subject: [PATCH] [30388f42] feat: Integrate Heatmap and Competitor Analysis tools --- docker-compose.yml | 38 ++++++++++++++++++++++++++++++++++++++ nginx-proxy-clean.conf | 20 ++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 6eb059a9..1eca6d4f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -29,6 +29,10 @@ services: condition: service_started transcription-tool: condition: service_started + heatmap-frontend: + condition: service_started + competitor-analysis: + condition: service_started # --- DASHBOARD --- dashboard: @@ -39,6 +43,21 @@ services: - ./dashboard:/usr/share/nginx/html:ro # --- APPS --- + competitor-analysis: + build: + context: ./competitor-analysis-app + dockerfile: Dockerfile + container_name: competitor-analysis + restart: unless-stopped + ports: + - "8097:3000" + environment: + GEMINI_API_KEY: "${GEMINI_API_KEY}" + PYTHONUNBUFFERED: "1" + volumes: + - competitor_analysis_data:/data + - ./Log_from_docker:/app/logs_debug + transcription-tool: build: context: ./transcription-tool @@ -54,6 +73,24 @@ services: - transcription_uploads:/app/uploads - ./Log_from_docker:/app/logs_debug + heatmap-backend: + build: + context: ./heatmap-tool/backend + container_name: heatmap-backend + restart: unless-stopped + ports: + - "8002:8000" + + heatmap-frontend: + build: + context: ./heatmap-tool/frontend + container_name: heatmap-frontend + restart: unless-stopped + ports: + - "5173:5173" + depends_on: + - heatmap-backend + b2b-marketing-assistant: build: context: . @@ -199,3 +236,4 @@ volumes: gtm_architect_data: {} b2b_marketing_data: {} transcription_uploads: {} + competitor_analysis_data: {} diff --git a/nginx-proxy-clean.conf b/nginx-proxy-clean.conf index d33c9b1b..e1171d15 100644 --- a/nginx-proxy-clean.conf +++ b/nginx-proxy-clean.conf @@ -80,6 +80,26 @@ http { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } + + location /competitor/ { + auth_basic "Restricted Access - Local AI Suite"; + auth_basic_user_file /etc/nginx/.htpasswd; + proxy_pass http://competitor-analysis:3000/; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + } + + location /heatmap/ { + auth_basic "Restricted Access - Local AI Suite"; + auth_basic_user_file /etc/nginx/.htpasswd; + proxy_pass http://heatmap-frontend:5173/; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + } # Feedback API (public) location /feedback/ {