Self-hosting the full stack outside Cloudflare — working Miniflare-based deployment, offering fixes upstream
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- clickhouse, docker, postgresql, typescript
调研方向
Start by checking apps/web/Dockerfile and .dockerignore, then compare the api and compose Docker references with the files currently in the repository. Ask maintainers which pieces they want pursued before taking on the Miniflare deployment path. Done looks like an agreed scope, working Docker builds for any accepted fixes, and documentation if the self-host deployment path is accepted.
由索引模型根据 Issue 内容生成。
描述
We run Maple fully self-hosted (no Cloudflare, no Tinybird): vanilla ClickHouse per docs/self-hosted-clickhouse.md with the prebuilt collector, plus the three workers (api, alerting, electric-sync) running under Miniflare in a single container, Hyperdrive bound to a local Postgres 17, Electric fronted by the electric-sync worker, drizzle migrations on boot, chat/AI-triage on the OpenRouter fallback. It's validated end-to-end (auth → Electric shapes → ClickHouse queries) and lives at tlvenn/maple (deploy/workerd/).
Along the way we found the in-repo Docker path has drifted: apps/api/Dockerfile runs bun run start which no longer exists, docker-compose.yml references apps/alerting/apps/electric-sync Dockerfiles that aren't in the tree, and apps/web/Dockerfile can't build because .dockerignore excludes packages/browser/packages/effect-sdk and @maple-dev/clickhouse-builder's dist is never built (also @maple-dev/browser is imported by the web app but not declared, so it only resolves via hoisting).
If there's interest, I'd like to upstream this in pieces:
- the web Dockerfile/.dockerignore fixes — happy to open that PR immediately;
- cleaning up or fixing the stale api/compose Docker references — your call whether those should be fixed or removed;
- the Miniflare runtime as an official self-host deployment path, with docs.
No hard feelings if (3) isn't the direction you want — even just (1)+(2) would help other self-hosters.
- 主要语言
- TypeScript
- 星标
- 1.8k
- 派生
- 120
- 平均合并
- 8 小时 19 分钟
- 30 天内合并 PR
- 650
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
MapleTechLabs/maple 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 45/100
MapleTechLabs/maple#1852 ·
维护者通常 1 天内回复
-
Proposal: use the chdb npm package instead of direct libchdb FFI可能已有人在做 @ShawnChen-Sirius 于 50 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 25/100
MapleTechLabs/maple#789 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
MapleTechLabs/maple#701 · 9 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
MapleTechLabs/maple#263 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 30/100
MapleTechLabs/maple#222 · 2 条评论 ·
维护者通常 1 天内回复
查看 MapleTechLabs/maple 的全部 Issue
相似的 Issue
-
calcite-ui-icons enhancement impact - p3 - not time sensitive needs triage
难度 2/5 1-3 小时 新手友好度 67/100
Esri/calcite-design-system#15467 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
diegosouzapw/OmniRoute#18390 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 1/5 1-3 小时 新手友好度 86/100
guilhermerodz/input-otp#157 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
davidjerleke/embla-carousel#1414 ·
维护者通常 4 天内回复