Installation
Install on a VPS
Run as root on a fresh Ubuntu 20.04 / 22.04 / 24.04 or Debian 11 / 12 server. Upload the ChatDock files to a directory, then run the installer from it.
cd /srv/chatdock
sudo bash install.shThe installer will:
- Install Node.js 22, MongoDB 7, Redis and PM2
- Run npm install across all workspaces
- Prompt for your domain, SMTP details and AI API keys
- Generate secure JWT secrets
- Build the API, the web app and the admin console
- Start everything under PM2, so it survives a reboot
- Optionally configure nginx and a free Let’s Encrypt certificate
When it finishes, open /auth/register on your domain and create the first account.