services: tjwater-agent: container_name: tjwater-agent build: context: . dockerfile: Dockerfile args: UBUNTU_APT_MIRROR: mirrors.aliyun.com PYPI_INDEX_URL: https://pypi.tuna.tsinghua.edu.cn/simple PYPI_TRUSTED_HOST: pypi.tuna.tsinghua.edu.cn image: tjwater-agent:latest environment: NODE_ENV: production HOST: 0.0.0.0 PORT: 8787 AGENT_INTERNAL_TOKEN: ${AGENT_INTERNAL_TOKEN:-} OPENCODE_BASE_URL: ${OPENCODE_BASE_URL:-http://127.0.0.1:4096} DEEPSEEK_API_KEY: ${DEEPSEEK_API_KEY:-} TJWATER_API_BASE_URL: ${TJWATER_API_BASE_URL:-http://127.0.0.1:8000} volumes: - /home/ubuntu/.config/opencode:/root/.config/opencode - /home/ubuntu/.local/share/opencode:/root/.local/share/opencode - ./.opencode/agents:/app/.opencode/agents - ./.opencode/skills:/app/.opencode/skills - ./logs:/app/logs - ./data:/app/data ports: - "8787:8787" restart: unless-stopped