version: "3.8" services: hindsight: image: ghcr.io/vectorize-io/hindsight:${HINDSIGHT_VERSION:-latest} container_name: hindsight restart: always ports: # Hindsight API - "8888:8888" # Hindsight Control Plane / Web UI - "4400:9999" environment: # 时区 - TZ=Asia/Shanghai # LLM Provider - HINDSIGHT_API_LLM_PROVIDER=${HINDSIGHT_API_LLM_PROVIDER:-openai} # API Key - HINDSIGHT_API_LLM_API_KEY=${HINDSIGHT_API_LLM_API_KEY} # LLM Model - HINDSIGHT_API_LLM_MODEL=${HINDSIGHT_API_LLM_MODEL:-gpt-4.1-mini} volumes: # Hindsight 内嵌 PostgreSQL 数据 - /volume1/docker/docker_projects/hindsight/data:/home/hindsight/.pg0