summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authoryyamashita <yyamashita@hetzner.yyamashita.com>2026-11-01 09:11:55 +0900
committeryyamashita <yyamashita@hetzner.yyamashita.com>2026-11-01 09:11:55 +0900
commitf0044f886359d942fe479a9a8a940af17c7047ac (patch)
tree842127fdeca489e41ca9b126d8894eafedc64e72 /README.md
parente22ef944f0c86a8f7a6f33e9689414659dcc167c (diff)
Docker で動かせるようにする
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
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/`)。