Initial commit
This commit is contained in:
31
deploy/README.md
Normal file
31
deploy/README.md
Normal 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.
|
||||
Reference in New Issue
Block a user