Bot & Automation

AI Creator Studio Telegram

/root/hermes-projects/AI Creator Studio Telegram

docs/OPERATIONS.md text
# Operations

## Target Path

```text
/root/hermes-projects/AI Creator Studio Telegram
```

Always quote the path in shell commands.

## Start

```bash
cd "/root/hermes-projects/AI Creator Studio Telegram"
docker compose up -d --build
```

## Stop

```bash
cd "/root/hermes-projects/AI Creator Studio Telegram"
docker compose down
```

## Logs

```bash
docker compose logs -f api
docker compose logs -f bot
docker compose logs -f worker
docker compose logs -f admin-web
```

## Healthcheck

```bash
curl http://localhost:8080/health
```

## Systemd

```bash
cp ecosystem/systemd/ai-creator-studio-telegram.service /etc/systemd/system/
systemctl daemon-reload
systemctl enable ai-creator-studio-telegram.service
systemctl start ai-creator-studio-telegram.service
systemctl status ai-creator-studio-telegram.service --no-pager
```

## Security Checklist

- `.env` exists and is not committed.
- `.env.example` contains no real secret.
- Telegram token is configured before starting the bot.
- Provider keys are configured only for enabled providers.
- Admin dashboard must be protected before public exposure.