[30388f42] feat: Integrate Heatmap and Competitor Analysis tools
This commit is contained in:
@@ -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: {}
|
||||
|
||||
@@ -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/ {
|
||||
|
||||
Reference in New Issue
Block a user