services:
  zhct-wecom-aibot:
    build:
      context: ../control/wecom-aibot
    image: zhct-wecom-aibot:local
    container_name: zhct-wecom-aibot
    entrypoint: []
    command: ["node", "/app/bot.js"]
    restart: unless-stopped
    env_file:
      - ../config/local/wecom.env
    environment:
      ZHCTPROMPT_ROOT: /workspace/zhct/zhctprompt
      WECOM_AIBOT_PYTHON: python3
      WECOM_AIBOT_CODEX_BIN: /usr/local/bin/codex
      WECOM_AIBOT_CODEX_MODEL: gpt-5.6-sol
      WECOM_AIBOT_HOST_CODEX_TIMEOUT_MS: 600000
    volumes:
      - ../..:/workspace/zhct:ro
      - ../work_wecom_customer_service:/workspace/zhct/zhctprompt/work_wecom_customer_service
      - /Users/lqt/.codex:/root/.codex:ro
    working_dir: /workspace/zhct/zhctprompt
