67 lines
1.6 KiB
YAML
67 lines
1.6 KiB
YAML
# TEMPORARY DOCKER-COMPOSE FOR STARTING COMPANY-EXPLORER
|
|
version: '3.8'
|
|
|
|
services:
|
|
# --- GATEKEEPER (NGINX) ---
|
|
nginx:
|
|
image: nginx:alpine
|
|
container_name: gateway_proxy
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8090:80"
|
|
volumes:
|
|
- ./nginx-proxy-clean.conf:/etc/nginx/nginx.conf:ro
|
|
- ./.htpasswd:/etc/nginx/.htpasswd:ro
|
|
depends_on:
|
|
dashboard:
|
|
condition: service_started
|
|
company-explorer:
|
|
condition: service_healthy
|
|
|
|
# --- DASHBOARD ---
|
|
dashboard:
|
|
image: nginx:alpine
|
|
container_name: dashboard
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./dashboard:/usr/share/nginx/html:ro
|
|
|
|
# --- APPS ---
|
|
company-explorer:
|
|
build:
|
|
context: ./company-explorer
|
|
dockerfile: Dockerfile
|
|
container_name: company-explorer
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8000:8000"
|
|
environment:
|
|
API_USER: "admin"
|
|
API_PASSWORD: "gemini"
|
|
PYTHONUNBUFFERED: "1"
|
|
DATABASE_URL: "sqlite:////data/companies_v3_fixed_2.db"
|
|
GEMINI_API_KEY: "${GEMINI_API_KEY}"
|
|
SERP_API_KEY: "${SERP_API}"
|
|
NOTION_TOKEN: "${NOTION_API_KEY}"
|
|
volumes:
|
|
- ./company-explorer:/app
|
|
- explorer_db_data:/data
|
|
- ./Log_from_docker:/app/logs_debug
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8000/docs"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
start_period: 30s
|
|
|
|
volumes:
|
|
connector_db_data: {}
|
|
explorer_db_data: {}
|
|
lead_engine_data: {}
|
|
gtm_architect_data: {}
|
|
b2b_marketing_data: {}
|
|
transcription_uploads: {}
|
|
content_engine_data: {}
|
|
competitor_analysis_data: {}
|
|
market_intel_data: {}
|