تخطَّ إلى المحتوى

Quick start

هذا المحتوى غير متوفر بلغتك بعد.

This gets you a working server and web client on one machine. You need Docker with Compose.

Terminal window
mkdir cove && cd cove
curl -O https://raw.githubusercontent.com/mjn81/cove-chat/main/examples/docker-compose/production/docker-compose.yml
curl -o config.toml https://raw.githubusercontent.com/mjn81/cove-chat/main/backend/config.toml.example
mkdir data

Open docker-compose.yml and set VITE_API_URL on the frontend service to the address people will use to reach the API, for example https://chat.example.com:4000. For a local trial the default http://localhost:4000 works.

Then set frontend_origin in config.toml to the address of the web client (for example http://localhost:3000). The server only accepts browser requests from that origin.

Terminal window
docker compose up -d
Port Used for
3000/tcp Web client
4000/tcp API and WebSocket
3478/udp Embedded STUN/TURN for calls
50000-50100/udp WebRTC media
9090/udp Raw UDP voice (only for voice.mode = "raw_udp")

Open http://localhost:3000 and register. The first account on a fresh server becomes the owner. Owners and admins get a Server admin tab in Settings.