Initialize Docker Swarm (manager node)
Deploy the complete infrastructure
From the repository root:docker-compose.yml, and starts components in the correct order.
Rolling updates
Production NGINX reverse proxy
NGINX handles TLS termination, API routing, WebSocket upgrades, and proxy buffering. Update domain mappings in:- chatapi.conf
- extensions.conf
- mgmtapi.conf
- notifications.conf
- dashboard.conf
- globalwebhooks.conf
- moderation.conf
- websocket.conf
Domain configuration (production)
When replacing<your-domain>, update environment values for Chat API, Management API, Extensions, Notifications, Moderation, Webhooks, SQL Consumer, and NGINX reverse proxy hostnames. Ensure the WebSocket host in Chat API aligns with the chosen domain (for example, chat.example.com).
Useful production commands (Swarm operations)
General management:Health check endpoints
| Component | URL |
|---|---|
| Dashboard | https://app.example.com |
| Chat API | https://api-us.example.com/health-check |
| Client API | https://apiclient-us.example.com/health-check |
| Management API | https://apimgmt.example.com/health-check |
| Notifications | https://notifications-us.example.com/health-check |
| Moderation | https://rule-us.example.com/health |
| WebSocket | https://websocket-us.example.com/v1/health |
| Webhooks | https://webhooks-us.example.com/v1/webhooks/health-check |
example.com with your actual domain, such as chat.example.com.