Initial commit

This commit is contained in:
2026-06-08 22:19:08 +09:00
commit 5a2c5df041
22 changed files with 3520 additions and 0 deletions

31
deploy/README.md Normal file
View File

@@ -0,0 +1,31 @@
# Deployment Notes
Default NAS target:
```text
host: comtropy.synology.me
port: 50022
remote dir: /volume1/docker/telegram-codex-bot
```
PowerShell deployment:
```powershell
.\deploy\make-env.ps1
.\deploy\deploy.ps1 -NasUser your-nas-admin-user
```
The script uploads files over legacy SCP, then runs:
```bash
docker compose up -d --build
```
If the first Codex command fails inside Telegram, open an SSH session and run:
```bash
cd /volume1/docker/telegram-codex-bot
docker compose exec telegram-codex-bot codex login --device-auth
```
The `codex-home` directory is mounted to `/root/.codex` so login state persists.