Skip to main content
Run the entire platform locally with Docker Compose for development, QA, and API exploration. This setup is not hardened for production workloads.

1) Install Git

sudo apt update -y
sudo apt install git -y

2) Clone the repository

git clone https://github.com/cometchat-team/cometchat-chat-api-infra-backend.git
cd cometchat-chat-api-infra-backend
git switch docker-swarm-setup-x86

3) Install Docker & Docker Compose (local only)

./install-docker-ubuntu.sh
docker --version
docker-compose --version

4) Start the local Docker environment

docker compose pull
docker compose up -d
Result: all services required for local development start on the same host.

5) Validate the deployment

  • WebSocket Gateway: http://localhost/v1/health
  • Chat API: http://localhost/health

What this setup includes

  • Kafka, Redis, MongoDB
  • Local Docker volumes for persistence
  • Single-node deployment tuned for development and debugging
Use this environment only for development, debugging, and API testing. Do not run production traffic against it.