2026-03-29 03:21:18 +00:00
|
|
|
|
{
|
|
|
|
|
|
"meta": {
|
|
|
|
|
|
"owner": "mai",
|
|
|
|
|
|
"description": "Posimai 開発インフラ構成",
|
2026-04-23 07:18:47 +00:00
|
|
|
|
"updated": "2026-04-23",
|
2026-04-05 13:19:10 +00:00
|
|
|
|
"version": "3"
|
2026-03-29 03:21:18 +00:00
|
|
|
|
},
|
|
|
|
|
|
"nodes": [
|
|
|
|
|
|
{
|
2026-03-30 23:41:29 +00:00
|
|
|
|
"id": "ubuntu-pc",
|
|
|
|
|
|
"label": "Ubuntu PC",
|
2026-03-29 03:21:18 +00:00
|
|
|
|
"type": "device",
|
2026-04-19 16:48:31 +00:00
|
|
|
|
"description": "常時起動の開発サーバー(実体)。posimai-dev・Claude Code 稼働中。Tailscale HTTPS でどこからでもアクセス可能。ソースの正は Git(Gitea + GitHub)。Synology NAS へ毎日 3:00 に rsync バックアップ。",
|
2026-03-30 23:41:29 +00:00
|
|
|
|
"url": "https://100.77.11.43:3333",
|
|
|
|
|
|
"health_url": "https://100.77.11.43:3333/api/health",
|
2026-03-29 03:21:18 +00:00
|
|
|
|
"status": "active"
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
2026-03-30 23:41:29 +00:00
|
|
|
|
"id": "posimai-dev",
|
|
|
|
|
|
"label": "posimai-dev",
|
|
|
|
|
|
"type": "service",
|
2026-04-05 13:19:10 +00:00
|
|
|
|
"description": "ブラウザターミナル + Claude Code チャット。Ubuntu PC 上で常時稼働。音声入力・スラッシュコマンド・セッションログ対応。Station(全画面監視盤)も同一サーバーから提供。",
|
2026-03-30 22:48:10 +00:00
|
|
|
|
"url": "https://100.77.11.43:3333",
|
|
|
|
|
|
"health_url": "https://100.77.11.43:3333/api/health",
|
2026-03-30 23:41:29 +00:00
|
|
|
|
"status": "active",
|
|
|
|
|
|
"parent": "ubuntu-pc"
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
"id": "windows-pc",
|
|
|
|
|
|
"label": "Windows PC",
|
|
|
|
|
|
"type": "device",
|
2026-04-19 16:48:31 +00:00
|
|
|
|
"description": "maiさんのメイン操作端末。Cursor / Claude Code / ブラウザで Ubuntu PC に接続して開発。リポジトリは Git で gitea/github に push(Syncthing は廃止済み)。",
|
2026-03-29 09:09:32 +00:00
|
|
|
|
"status": "active"
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
"id": "android-phone",
|
2026-03-30 23:41:29 +00:00
|
|
|
|
"label": "スマートフォン",
|
2026-03-29 09:09:32 +00:00
|
|
|
|
"type": "device",
|
2026-03-30 23:41:29 +00:00
|
|
|
|
"description": "PWA テスト・モバイル動作確認。Tailscale 経由で posimai-dev にアクセス。",
|
2026-03-29 03:21:18 +00:00
|
|
|
|
"status": "active"
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
"id": "synology",
|
|
|
|
|
|
"label": "Synology NAS",
|
|
|
|
|
|
"type": "device",
|
2026-04-05 13:19:10 +00:00
|
|
|
|
"description": "ローカルバックアップサーバー(Tailscale VPN 経由のみアクセス可 / 100.76.7.3)。Gitea・Uptime Kuma をホスト。Ubuntu PC の rsync バックアップ受け先(毎日 3:00)。旧 API・旧 PostgreSQL も待機中(フォールバック候補)。",
|
2026-03-29 03:21:18 +00:00
|
|
|
|
"status": "active"
|
|
|
|
|
|
},
|
2026-03-29 09:09:32 +00:00
|
|
|
|
{
|
|
|
|
|
|
"id": "gitea",
|
|
|
|
|
|
"label": "Gitea",
|
|
|
|
|
|
"type": "service",
|
2026-04-05 13:19:10 +00:00
|
|
|
|
"description": "ローカル Git バックアップ。Synology 上で Docker 動作(100.76.7.3:3000)。全リポジトリのバックアップ用リモート。",
|
2026-03-29 09:09:32 +00:00
|
|
|
|
"url": "http://100.76.7.3:3000",
|
|
|
|
|
|
"status": "active",
|
|
|
|
|
|
"parent": "synology"
|
|
|
|
|
|
},
|
2026-04-05 13:19:10 +00:00
|
|
|
|
{
|
|
|
|
|
|
"id": "uptime-kuma",
|
|
|
|
|
|
"label": "Uptime Kuma",
|
|
|
|
|
|
"type": "service",
|
|
|
|
|
|
"description": "死活監視ダッシュボード。Synology 上で Docker 動作(100.76.7.3:3001)。VPS・Ubuntu PC・各アプリの稼働状況を監視。※ 将来 VPS に移設予定(Eiji 提案)。",
|
|
|
|
|
|
"url": "http://100.76.7.3:3001",
|
|
|
|
|
|
"status": "active",
|
|
|
|
|
|
"parent": "synology"
|
|
|
|
|
|
},
|
2026-03-30 23:41:29 +00:00
|
|
|
|
{
|
|
|
|
|
|
"id": "tailscale",
|
|
|
|
|
|
"label": "Tailscale",
|
|
|
|
|
|
"type": "network",
|
2026-04-05 13:19:10 +00:00
|
|
|
|
"description": "デバイス間 VPN メッシュ。Ubuntu PC・Windows PC・スマートフォン・Synology を安全に接続。tailnet: tail72e846.ts.net。VPS は公開 IP で直接アクセスするため不要。",
|
2026-03-30 23:41:29 +00:00
|
|
|
|
"status": "active"
|
|
|
|
|
|
},
|
2026-03-29 03:21:18 +00:00
|
|
|
|
{
|
2026-03-29 13:57:44 +00:00
|
|
|
|
"id": "vps-xserver",
|
2026-03-30 23:41:29 +00:00
|
|
|
|
"label": "VPS",
|
2026-03-29 03:21:18 +00:00
|
|
|
|
"type": "server",
|
2026-04-05 13:19:10 +00:00
|
|
|
|
"description": "Posimai API 本番サーバー。共同開発者 Eiji 提供・管理(DNS 含む)。Ubuntu 25.04 / AMD EPYC 4コア / 5.8GB RAM / IP: 85.131.245.239。Nginx + Docker 構成。",
|
2026-03-29 03:21:18 +00:00
|
|
|
|
"url": "https://api.soar-enrich.com",
|
2026-04-05 13:19:10 +00:00
|
|
|
|
"health_url": "https://api.soar-enrich.com/brain/api/health",
|
2026-03-29 03:21:18 +00:00
|
|
|
|
"status": "active"
|
|
|
|
|
|
},
|
2026-03-29 09:09:32 +00:00
|
|
|
|
{
|
|
|
|
|
|
"id": "posimai-api",
|
|
|
|
|
|
"label": "Posimai API",
|
|
|
|
|
|
"type": "service",
|
2026-04-05 13:19:10 +00:00
|
|
|
|
"description": "Node.js / Express(:8090)。認証(Magic Link + WebAuthn + Google OAuth + GitHub OAuth)・記事・RSS・TTS・Journal API を提供。PostgreSQL 16 と接続。Stripe Webhook も受信。",
|
|
|
|
|
|
"url": "https://api.soar-enrich.com/brain/api",
|
2026-03-29 09:09:32 +00:00
|
|
|
|
"status": "active",
|
2026-03-29 13:57:44 +00:00
|
|
|
|
"parent": "vps-xserver"
|
2026-03-29 09:09:32 +00:00
|
|
|
|
},
|
2026-03-29 03:21:18 +00:00
|
|
|
|
{
|
2026-03-30 23:41:29 +00:00
|
|
|
|
"id": "postgresql",
|
|
|
|
|
|
"label": "PostgreSQL 16",
|
|
|
|
|
|
"type": "service",
|
2026-04-10 08:11:47 +00:00
|
|
|
|
"description": "VPS 本番 DB。articles / journal_posts / users / auth_sessions / site_config / reading_history / habit_habits / habit_log / pulse_log / lens_history / together_groups / together_members / together_shares / together_reactions / together_comments テーブル。users に plan(free/premium)・Stripe ID 管理。Supabase からの Together 完全移行済み(2026-04-06)。",
|
2026-03-30 23:41:29 +00:00
|
|
|
|
"status": "active",
|
|
|
|
|
|
"parent": "vps-xserver"
|
2026-03-29 03:21:18 +00:00
|
|
|
|
},
|
2026-04-10 08:11:47 +00:00
|
|
|
|
{
|
|
|
|
|
|
"id": "gemini",
|
|
|
|
|
|
"label": "Gemini API",
|
|
|
|
|
|
"type": "cloud",
|
|
|
|
|
|
"description": "Google Gemini 2.5 Flash。VPS 経由のみ利用。Brain 記事の AI 要約生成・Journal タグ提案・Together 投稿要約に使用。モデル固定: gemini-2.5-flash。",
|
|
|
|
|
|
"status": "active"
|
|
|
|
|
|
},
|
2026-03-29 03:21:18 +00:00
|
|
|
|
{
|
|
|
|
|
|
"id": "github",
|
|
|
|
|
|
"label": "GitHub",
|
|
|
|
|
|
"type": "cloud",
|
2026-04-05 13:19:10 +00:00
|
|
|
|
"description": "ソースコード管理(posimai org)。push で Vercel 自動デプロイをトリガー。git push は gitea + github の2リモート同時に行う。",
|
2026-03-29 03:21:18 +00:00
|
|
|
|
"url": "https://github.com/posimai",
|
|
|
|
|
|
"status": "active"
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
"id": "vercel",
|
|
|
|
|
|
"label": "Vercel",
|
|
|
|
|
|
"type": "cloud",
|
2026-04-19 16:40:52 +00:00
|
|
|
|
"description": "全 posimai-* PWA のホスティング・CDN・自動デプロイ。30 本稼働中。GitHub push でトリガー。",
|
2026-03-29 03:21:18 +00:00
|
|
|
|
"url": "https://vercel.com",
|
|
|
|
|
|
"status": "active"
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
2026-03-29 09:09:32 +00:00
|
|
|
|
"id": "posimai-apps",
|
2026-04-23 07:18:47 +00:00
|
|
|
|
"label": "Posimai Apps (32)",
|
2026-03-29 09:09:32 +00:00
|
|
|
|
"type": "app",
|
2026-04-23 07:18:47 +00:00
|
|
|
|
"description": "brain / habit / pulse / feed / reader / journal / brief / daily / ambient / veil / lens / diff / clean / timer / digest / think / site / events / maps / tech-events / analytics / roadmap / together / atlas / dashboard / hotels / guard / boki / sc(支援士)/ pc-audit(Windows ZIP)/ chronicle(原形)など全 32 本。JWT が必要なアプリは VPS 認証。",
|
2026-04-17 04:12:13 +00:00
|
|
|
|
"url": "https://posimai.soar-enrich.com",
|
2026-03-29 09:09:32 +00:00
|
|
|
|
"status": "active",
|
|
|
|
|
|
"parent": "vercel"
|
2026-03-29 03:21:18 +00:00
|
|
|
|
},
|
2026-03-30 23:41:29 +00:00
|
|
|
|
{
|
|
|
|
|
|
"id": "resend",
|
|
|
|
|
|
"label": "Resend",
|
|
|
|
|
|
"type": "cloud",
|
|
|
|
|
|
"description": "Magic Link メール送信のみ利用。noreply@soar-enrich.com から配信。",
|
2026-03-29 03:21:18 +00:00
|
|
|
|
"status": "active"
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
2026-03-29 09:09:32 +00:00
|
|
|
|
"id": "stripe",
|
|
|
|
|
|
"label": "Stripe",
|
|
|
|
|
|
"type": "cloud",
|
2026-04-05 13:19:10 +00:00
|
|
|
|
"description": "決済処理。共同開発者 Eiji と共有アカウント。現在テストモードで稼働中(月額 ¥500 / 1日無料トライアル)。Webhook で決済完了を VPS に通知し plan カラムを premium に更新。本番モードへの切り替えは Eiji 確認後。",
|
2026-03-29 09:09:32 +00:00
|
|
|
|
"url": "https://stripe.com",
|
2026-03-29 03:21:18 +00:00
|
|
|
|
"status": "active"
|
2026-04-01 07:47:07 +00:00
|
|
|
|
},
|
2026-04-05 13:19:10 +00:00
|
|
|
|
{
|
|
|
|
|
|
"id": "google-oauth",
|
|
|
|
|
|
"label": "Google OAuth",
|
|
|
|
|
|
"type": "cloud",
|
|
|
|
|
|
"description": "Google アカウントでのログイン。Google Cloud Console「Posimai App」プロジェクトで発行。VPS の /auth/oauth/google エンドポイントで処理。",
|
|
|
|
|
|
"status": "active"
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
"id": "github-oauth",
|
|
|
|
|
|
"label": "GitHub OAuth",
|
|
|
|
|
|
"type": "cloud",
|
|
|
|
|
|
"description": "GitHub アカウントでのログイン。GitHub OAuth App で発行。VPS の /auth/oauth/github エンドポイントで処理。",
|
|
|
|
|
|
"status": "active"
|
|
|
|
|
|
},
|
2026-04-01 07:47:07 +00:00
|
|
|
|
{
|
|
|
|
|
|
"id": "posimai-store",
|
|
|
|
|
|
"label": "Posimai Store",
|
|
|
|
|
|
"type": "app",
|
2026-04-05 13:19:10 +00:00
|
|
|
|
"description": "Posimaiアプリ販売 LP。買い切り ¥500 モデル。Design A/B/C/D の4バリアント実装済み(Eiji と検討中)。Stripe Payment Link で決済。",
|
2026-04-17 04:12:13 +00:00
|
|
|
|
"url": "https://store.posimai.soar-enrich.com",
|
2026-04-01 07:47:07 +00:00
|
|
|
|
"status": "active",
|
|
|
|
|
|
"parent": "vercel"
|
2026-03-29 03:21:18 +00:00
|
|
|
|
}
|
|
|
|
|
|
],
|
|
|
|
|
|
"edges": [
|
2026-04-05 13:19:10 +00:00
|
|
|
|
{ "from": "windows-pc", "to": "tailscale", "type": "connects", "label": "VPN" },
|
|
|
|
|
|
{ "from": "ubuntu-pc", "to": "tailscale", "type": "connects", "label": "VPN" },
|
|
|
|
|
|
{ "from": "android-phone", "to": "tailscale", "type": "connects", "label": "VPN" },
|
|
|
|
|
|
{ "from": "synology", "to": "tailscale", "type": "connects", "label": "VPN" },
|
|
|
|
|
|
|
|
|
|
|
|
{ "from": "windows-pc", "to": "ubuntu-pc", "type": "connects", "label": "SSH / posimai-dev" },
|
|
|
|
|
|
{ "from": "android-phone", "to": "posimai-dev", "type": "connects", "label": "Tailscale HTTPS" },
|
2026-03-30 23:41:29 +00:00
|
|
|
|
|
2026-04-05 13:19:10 +00:00
|
|
|
|
{ "from": "posimai-dev", "to": "ubuntu-pc", "type": "runs-on" },
|
|
|
|
|
|
{ "from": "gitea", "to": "synology", "type": "runs-on" },
|
|
|
|
|
|
{ "from": "uptime-kuma", "to": "synology", "type": "runs-on" },
|
2026-03-30 23:41:29 +00:00
|
|
|
|
|
2026-04-05 13:19:10 +00:00
|
|
|
|
{ "from": "ubuntu-pc", "to": "gitea", "type": "push", "label": "git push" },
|
|
|
|
|
|
{ "from": "ubuntu-pc", "to": "github", "type": "push", "label": "git push" },
|
|
|
|
|
|
{ "from": "windows-pc", "to": "gitea", "type": "push", "label": "git push" },
|
|
|
|
|
|
{ "from": "windows-pc", "to": "github", "type": "push", "label": "git push" },
|
|
|
|
|
|
{ "from": "ubuntu-pc", "to": "synology", "type": "connects","label": "rsync backup" },
|
2026-03-30 23:41:29 +00:00
|
|
|
|
|
2026-04-05 13:19:10 +00:00
|
|
|
|
{ "from": "github", "to": "vercel", "type": "trigger", "label": "auto deploy" },
|
|
|
|
|
|
{ "from": "vercel", "to": "posimai-apps", "type": "hosts" },
|
|
|
|
|
|
{ "from": "vercel", "to": "posimai-store", "type": "hosts" },
|
2026-03-30 23:41:29 +00:00
|
|
|
|
|
2026-04-05 13:19:10 +00:00
|
|
|
|
{ "from": "posimai-api", "to": "vps-xserver", "type": "runs-on", "label": "Docker" },
|
|
|
|
|
|
{ "from": "postgresql", "to": "vps-xserver", "type": "runs-on" },
|
|
|
|
|
|
{ "from": "posimai-api", "to": "postgresql", "type": "calls", "label": "SQL" },
|
|
|
|
|
|
{ "from": "posimai-api", "to": "resend", "type": "calls", "label": "Magic Link メール" },
|
|
|
|
|
|
{ "from": "posimai-api", "to": "google-oauth", "type": "calls", "label": "OAuth認証" },
|
|
|
|
|
|
{ "from": "posimai-api", "to": "github-oauth", "type": "calls", "label": "OAuth認証" },
|
2026-03-30 23:41:29 +00:00
|
|
|
|
|
2026-04-05 13:19:10 +00:00
|
|
|
|
{ "from": "stripe", "to": "posimai-api", "type": "calls", "label": "Webhook (決済完了)" },
|
|
|
|
|
|
{ "from": "posimai-store", "to": "stripe", "type": "calls", "label": "Payment Link" },
|
|
|
|
|
|
{ "from": "posimai-apps", "to": "posimai-api", "type": "calls", "label": "REST API (JWT認証)" },
|
2026-04-10 08:11:47 +00:00
|
|
|
|
{ "from": "posimai-api", "to": "gemini", "type": "calls", "label": "AI 要約" },
|
2026-04-17 04:11:31 +00:00
|
|
|
|
{ "from": "posimai-apps", "to": "gemini", "type": "calls", "label": "Guard コードスキャン (直接呼出)" },
|
2026-03-30 23:41:29 +00:00
|
|
|
|
|
2026-04-05 13:19:10 +00:00
|
|
|
|
{ "from": "uptime-kuma", "to": "vps-xserver", "type": "monitors","label": "死活監視" },
|
|
|
|
|
|
{ "from": "uptime-kuma", "to": "ubuntu-pc", "type": "monitors","label": "死活監視" },
|
|
|
|
|
|
{ "from": "uptime-kuma", "to": "posimai-apps", "type": "monitors","label": "死活監視" },
|
2026-03-30 23:41:29 +00:00
|
|
|
|
|
2026-04-05 13:19:10 +00:00
|
|
|
|
{ "from": "windows-pc", "to": "vps-xserver", "type": "connects","label": "SSH (deploy)" }
|
2026-03-29 03:21:18 +00:00
|
|
|
|
]
|
|
|
|
|
|
}
|