[31388f42] Dockerize lead-engine: Add service to docker-compose.yml, update nginx proxy, fix Dockerfile deps

This commit is contained in:
2026-03-02 07:49:17 +00:00
parent 7e51ef97e8
commit a25f5b67e5
3 changed files with 21 additions and 3 deletions

View File

@@ -244,6 +244,24 @@ services:
DB_PATH: "/app/connector_queue.db"
COMPANY_EXPLORER_URL: "http://company-explorer:8000"
lead-engine:
build:
context: ./lead-engine
dockerfile: Dockerfile
container_name: lead-engine
restart: unless-stopped
ports:
- "8501:8501"
env_file:
- .env
environment:
PYTHONUNBUFFERED: "1"
COMPANY_EXPLORER_URL: "http://company-explorer:8000"
volumes:
- ./lead-engine:/app
# We need to mount the root connector module so it can be imported inside the container
- ./company_explorer_connector.py:/app/company_explorer_connector.py
# --- INFRASTRUCTURE SERVICES ---
duckdns:
image: lscr.io/linuxserver/duckdns:latest