Deployment Guide
Deployment Modes
- Local/staging with
docker compose - Production-like deployment with prebuilt images from GHCR
Container Build and Run
Build images:
docker compose build her-bot dashboard sandbox
Run services:
docker compose up -d
Validate:
docker compose ps
curl -sS http://localhost:8000
Production Recommendations
- Use immutable image tags (release tags) instead of
latest. - Store secrets in external secret manager or protected env system.
- Restrict network exposure to required ports.
- Enable log collection and retention for
her-botanddashboard. - Backup Postgres and Redis volumes.
- Track MCP availability and scheduler task health in dashboard pages.
Environment Hardening
- Set strong DB/Redis credentials.
- Review
MCP_CONFIG_PATHand disable unneeded servers. - Keep sandbox limits (
HER_SANDBOX_*) conservative in shared environments. - Run with explicit timezone (
TZ) and operational alerts.
CI/CD and Image Publishing
.github/workflows/ci.yml builds and publishes:
- ghcr.io/<owner>/her-ai/her-bot
- ghcr.io/<owner>/her-ai/her-dashboard
- ghcr.io/<owner>/her-ai/her-sandbox
Docs are built with MkDocs and deployed to GitHub Pages when main updates.
Operational Runbook (Minimal)
- Pull latest stable images.
- Update
.envand config files. - Start services with compose.
- Confirm health endpoint and dashboard.
- Test
/statusand/mcpin Telegram. - Review logs for startup capability warnings.