Repository navigation
feat: 全サービスの入口 (Caddy) を Prismtone から分ける - #1
Merged
Merged
Conversation
Caddyfile に Cloudflare の IP だけを受ける決まりと、prismtone・accounts・scenote のサイトをまとめる。 上流はサービスごとに固有の別名で指す。Caddyfile はイメージに入れ、compose の Caddy はどのサービスも待たない。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ADR-0001。相棒の指摘 (2026-10-18): 入口の Caddy が Prismtone の compose にあり、accounts と Scenote が Prismtone に依存している。
やったこと
Caddyfile: Cloudflare の IP だけを受けるcloudflare_onlyと、prismtone・accounts・scenote のサイト。上流は固有の別名 (prismtone-web:3000・accounts-web:3100・scenote-web:3200)Dockerfile:caddy:2.11.6に Caddyfile を入れたイメージ (ghcr.io/lumorphia/edge-caddy)。VPS にファイルを手で写さない。doco-cd がリポジトリのファイルを bind mount するときのホストからの見え方は確かめておらず、頼らないcompose.yaml: Caddy だけ。どのサービスの起動も待たない。証明書は VPS のEDGE_CERTS_DIRdoco-cd/compose.yaml・.doco-cd.yml: edge 専用の doco-cdcaddy validate(仮の証明書)、caddy fmtの差分、compose の構文、gitleaks。main への push でイメージをsha-…とlatestで出すcutover.md、戻し方つき)、運用 (deploy.md)、Cloudflare の IP の更新手元で確かめたこと
caddy validate、caddy fmtの差分なし、compose の構文このあと (別の PR と相棒の手)
lumorphia-edgeにprismtone-webで出し、compose から proxy を外す (doco-cd はremove_orphans: falseなので、動いている proxy は残る)cutover.md。入口が止まるのは数秒)🤖 Generated with Claude Code