From f0044f886359d942fe479a9a8a940af17c7047ac Mon Sep 17 00:00:00 2001 From: yyamashita Date: Sun, 1 Nov 2026 09:11:55 +0900 Subject: Docker で動かせるようにする MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- README.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 1c041e2..1eb452e 100644 --- a/README.md +++ b/README.md @@ -25,3 +25,8 @@ python3 server.py # → http://localhost:8000 リンキィディンクは Reserve Mart(reserve1.jp)で予約を受けていて、空き枠を見るには会員ログインが必要。 ID とパスワードは `.env` などに置き、リポジトリには入れないこと。 + +## デプロイ + +`git push` で post-receive フックが `/app/studio-slots` にチェックアウトし、`docker compose up -d --build` する。 +コンテナ名は `studio-app`(web ネットワーク、ポート 8000)。設定は hetzner-infra 側(`git/repos.txt`、`git/hooks/studio-slots/`)。 -- cgit v1.3