32 lines
627 B
Markdown
32 lines
627 B
Markdown
# 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.
|