Files
Memoh/DEPLOYMENT.md
T
BBQ 1c15eb2146 refactor(core): restructure conversation/channel/message domains and modernize deployment
- Replace chat package with conversation flow architecture
- Add channel identity avatar support (migration 0002)
- Refactor channel adapters, identities, and message routing
- Update frontend: simplify composables, modernize UI components
- Improve Docker builds with cache mounts and version metadata
- Optimize healthchecks and simplify service dependencies
2026-02-12 20:55:03 +08:00

1.5 KiB

Memoh Deployment Guide

Quick Deploy

git clone https://github.com/memohai/Memoh.git
cd Memoh
./deploy.sh

Access:

Default credentials: admin / admin123

Manual Deploy

cp docker/config/config.docker.toml config.toml
nano config.toml  # Change passwords and secrets
nerdctl build -f docker/Dockerfile.mcp -t docker.io/library/memoh-mcp:latest .
docker compose up -d

Required Configuration

Must change in config.toml:

  • admin.password - Admin password
  • auth.jwt_secret - JWT secret (generate with openssl rand -base64 32)
  • postgres.password - Database password

Common Commands

docker compose up -d          # Start
docker compose down           # Stop
docker compose logs -f        # View logs
nerdctl images                # Ensure that memoh-mcp:latest exsits

Production

  1. Configure HTTPS (create docker-compose.override.yml with SSL certs)
  2. Change all default passwords
  3. Configure firewall
  4. Set resource limits
  5. Regular backups

Troubleshooting

docker compose logs server    # View service logs
docker compose config         # Check configuration
docker compose build --no-cache && docker compose up -d  # Rebuild

Security Warnings

⚠️ Main service has host Docker access - only run in trusted environments ⚠️ Must change all default passwords and secrets ⚠️ Use HTTPS in production