mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-25 07:00:48 +09:00
1.4 KiB
1.4 KiB
Memoh Deployment Guide
Quick Deploy
git clone https://github.com/memohai/Memoh.git
cd Memoh
./deploy.sh
Access:
- Web UI: http://localhost
- API: http://localhost:8080
- Agent: http://localhost:8081
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 memoh-mcp:latest .
docker compose up -d
Required Configuration
Must change in config.toml:
admin.password- Admin passwordauth.jwt_secret- JWT secret (generate withopenssl 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 ps -a | grep memoh-bot # View bot containers
Production
- Configure HTTPS (create
docker-compose.override.ymlwith SSL certs) - Change all default passwords
- Configure firewall
- Set resource limits
- 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