[30388f42] Infrastructure Hardening: Repaired CE/Connector DB schema, fixed frontend styling build, implemented robust echo shield in worker v2.1.1, and integrated Lead Engine into gateway.
This commit is contained in:
@@ -90,6 +90,7 @@ services:
|
||||
SO_CONTEXT_IDENTIFIER: "${SO_CONTEXT_IDENTIFIER}"
|
||||
# Webhook Security
|
||||
WEBHOOK_TOKEN: "${WEBHOOK_TOKEN}"
|
||||
WEBHOOK_SECRET: "${WEBHOOK_SECRET}"
|
||||
# Mappings
|
||||
VERTICAL_MAP_JSON: "${VERTICAL_MAP_JSON}"
|
||||
PERSONA_MAP_JSON: "${PERSONA_MAP_JSON}"
|
||||
@@ -112,7 +113,28 @@ services:
|
||||
retries: 5
|
||||
start_period: 30s
|
||||
|
||||
# --- DISABLED SERVICES (Commented out but preserved) ---
|
||||
# --- LEAD ENGINE (Trading Twins) ---
|
||||
lead-engine:
|
||||
build:
|
||||
context: ./lead-engine
|
||||
dockerfile: Dockerfile
|
||||
container_name: lead-engine
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8501:8501" # UI (Streamlit)
|
||||
- "8004:8004" # API / Monitor
|
||||
environment:
|
||||
PYTHONUNBUFFERED: "1"
|
||||
GEMINI_API_KEY: "${GEMINI_API_KEY}"
|
||||
COMPANY_EXPLORER_URL: "http://company-explorer:8000/api"
|
||||
COMPANY_EXPLORER_API_USER: "admin"
|
||||
COMPANY_EXPLORER_API_PASSWORD: "gemini"
|
||||
volumes:
|
||||
- ./lead-engine:/app
|
||||
- lead_engine_data:/app/data
|
||||
- ./Log_from_docker:/app/Log
|
||||
|
||||
# --- INFRASTRUCTURE SERVICES ---
|
||||
|
||||
# heatmap-backend:
|
||||
# build: ./heatmap-tool/backend
|
||||
@@ -254,32 +276,34 @@ services:
|
||||
# PYTHONUNBUFFERED: "1"
|
||||
# GEMINI_API_KEY: "${GEMINI_API_KEY}"
|
||||
|
||||
# duckdns:
|
||||
# image: lscr.io/linuxserver/duckdns:latest
|
||||
# container_name: duckdns
|
||||
# environment:
|
||||
# PUID: "1000" # User ID (anpassen falls nötig)
|
||||
# PGID: "1000" # Group ID (anpassen falls nötig)
|
||||
# TZ: "Europe/Berlin"
|
||||
# SUBDOMAINS: "floke,floke-ai,floke-gitea,floke-ha,floke-n8n"
|
||||
# TOKEN: "2e073b27-971e-4847-988c-73ad23e648d4" # Actual token is in .env or config
|
||||
# restart: unless-stopped
|
||||
# --- INFRASTRUCTURE SERVICES ---
|
||||
duckdns:
|
||||
image: lscr.io/linuxserver/duckdns:latest
|
||||
container_name: duckdns
|
||||
environment:
|
||||
PUID: "1000" # User ID (anpassen falls nötig)
|
||||
PGID: "1000" # Group ID (anpassen falls nötig)
|
||||
TZ: "Europe/Berlin"
|
||||
SUBDOMAINS: "${DUCKDNS_SUBDOMAINS}"
|
||||
TOKEN: "${DUCKDNS_TOKEN}"
|
||||
restart: unless-stopped
|
||||
|
||||
# dns-monitor:
|
||||
# image: alpine
|
||||
# container_name: dns-monitor
|
||||
# dns:
|
||||
# - 8.8.8.8
|
||||
# - 1.1.1.1
|
||||
# environment:
|
||||
# SUBDOMAINS: "floke,floke-ai,floke-gitea,floke-ha,floke-n8n"
|
||||
# TZ: "Europe/Berlin"
|
||||
# volumes:
|
||||
# - ./dns-monitor:/app
|
||||
# command: "/app/monitor.sh"
|
||||
# restart: unless-stopped
|
||||
dns-monitor:
|
||||
image: alpine
|
||||
container_name: dns-monitor
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 1.1.1.1
|
||||
environment:
|
||||
SUBDOMAINS: "${DUCKDNS_SUBDOMAINS}"
|
||||
TZ: "Europe/Berlin"
|
||||
volumes:
|
||||
- ./dns-monitor:/app
|
||||
command: "/app/monitor.sh"
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
# moltbot_data: {}
|
||||
connector_db_data: {}
|
||||
explorer_db_data: {}
|
||||
explorer_db_data: {}
|
||||
lead_engine_data: {}
|
||||
Reference in New Issue
Block a user