Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Self-host with Docker Compose and optional server-held keys

未關閉
#98 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

@kannan983 已經在處理了。

開始於 2026年10月10日。

  • #101 來自 @kannan983 —— 未關閉

評估

難度
4/5
預估耗時
3-5 天
新手友好度
18/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
docker, docker-compose, next.js, python

研究方向

Start with docker/Dockerfile.app, apps/agent/Dockerfile (to be added) and apps/mcp/Dockerfile, then check the agent's server_credentials_available handling and the chat UI's browser key prompt. Done means docker compose up serves the app, agent and MCP server on 127.0.0.1, and with NEXT_PUBLIC_SERVER_KEYS=true the key prompt is skipped while the default hosted behaviour is unchanged. PR #101 is already open against this issue, so check with the maintainers before starting a parallel implementation.

由索引模型根據 Issue 內容生成。

描述

Problem

Running the app day to day on your own machine takes three processes (app, agent, MCP), and the existing apps/mcp/Dockerfile can't build from the repo: it expects an apps/mcp/pnpm-lock.yaml that doesn't exist, and @repo/design-system is a workspace dependency. Separately, the chat UI always asks for browser keys before sending, even when the agent already has shared keys in apps/agent/.env. The agent accepts header-less requests in that case (server_credentials_available), so the prompt is the only thing in the way.

Proposal

  1. A docker-compose.yml that builds and runs the app, agent and MCP server, bound to 127.0.0.1 with restart: unless-stopped. It reuses docker/Dockerfile.app, adds apps/agent/Dockerfile (uv, frozen lock), and adds docker/Dockerfile.mcp, which builds from the workspace root.
  2. An opt-in, build-time NEXT_PUBLIC_SERVER_KEYS=true that treats server-held keys as configured, so the browser key prompt is skipped. It's off by default, so the hosted BYOK experience is unchanged. Compose sets it.

I noticed #9/#10 proposed Compose earlier and were closed; I don't know why. If self-hosting via Compose isn't something you want in this repo, that's fine. If it is, I have a PR ready and am happy to reshape it.

主要語言
TypeScript
星號
3.9k
分支
414
平均合併
4 小時
30 天內合併 PR
6

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CopilotKit/OpenIntelligentUI 的其他 Issue

查看 CopilotKit/OpenIntelligentUI 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。