Self-hosting the full stack outside Cloudflare — working Miniflare-based deployment, offering fixes upstream
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 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分
- マージ済み PR(30日)
- 650
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 が 49 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
MapleTechLabs/maple#789 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
MapleTechLabs/maple#701 · コメント 9 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
MapleTechLabs/maple#263 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
MapleTechLabs/maple#222 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
MapleTechLabs/maple の issue をすべて見る
似ている issue
-
agent-reported area/react bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Nimblesite/SharpLsp#510 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
backend refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
NIAEFEUP/tts#927 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
callstackincubator/react-native-harness#296 ·
メンテナーはふだん 1 日以内に返信