# WICHTIGER HINWEIS FÜR SPRACHMODELLE UND ENTWICKLER: # Diese docker-compose.yml Datei ist die zentrale Orchestrierungsdatei für ALLE Docker-Services dieses Projekts. # Es ist strengstens untersagt, Service-Definitionen, Volumes, Netzwerke oder andere Konfigurationen # willkürlich zu löschen, auszukommentieren oder zu modifizieren, es sei denn, dies wurde # explizit angefordert und die Auswirkungen wurden vollständig verstanden. # Unbeabsichtigte Löschungen können zu massivem Datenverlust und Fehlfunktionen des Systems führen. # Prüfe IMMER den gesamten Kontext der Datei und die Projektdokumentation (readme.md), bevor du Änderungen vornimmst. version: '3.8' services: # --- GATEKEEPER (NGINX) --- nginx: image: nginx:alpine container_name: gateway_proxy restart: unless-stopped ports: - "8090:80" # Synology Reverse Proxy should point to THIS port (8090) volumes: - ./nginx-proxy.conf:/etc/nginx/nginx.conf:ro - ./.htpasswd:/etc/nginx/.htpasswd:ro depends_on: - company-explorer - dashboard - connector-superoffice # --- DASHBOARD --- dashboard: image: nginx:alpine container_name: dashboard restart: unless-stopped volumes: - ./dashboard:/usr/share/nginx/html:ro # --- APPS (Core) --- company-explorer: build: context: ./company-explorer dockerfile: Dockerfile container_name: company-explorer restart: unless-stopped ports: - "8000:8000" env_file: - .env environment: API_USER: "admin" API_PASSWORD: "gemini" PYTHONUNBUFFERED: "1" volumes: - ./company-explorer:/app - ./companies_v3_fixed_2.db:/app/companies_v3_fixed_2.db - ./Log_from_docker:/app/logs_debug # Ensure logging path is correct connector-superoffice: build: context: ./connector-superoffice dockerfile: Dockerfile container_name: connector-superoffice restart: unless-stopped ports: - "8003:8000" # Expose internal 8000 to host 8003 (8002 was taken) env_file: - .env volumes: - ./connector-superoffice:/app - ./connector_queue.db:/app/connector_queue.db environment: PYTHONUNBUFFERED: "1" API_USER: "admin" API_PASSWORD: "gemini" DB_PATH: "/app/connector_queue.db" COMPANY_EXPLORER_URL: "http://company-explorer:8000" volumes: # No custom volumes needed for the streamlined setup