Skip to content

Commit

Permalink
Update HOW_TO_SETUP_LIVEKIT_SERVER.md
Browse files Browse the repository at this point in the history
  • Loading branch information
skiffer-git authored Jan 3, 2025
1 parent f57a9e7 commit cd94ffc
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions HOW_TO_SETUP_LIVEKIT_SERVER.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,20 @@ docker logs livekit/livekit-server

## Configuring the LiveKit Address in OpenIM Chat

Update the `config/chat-rpc-chat.yml` file to configure the LiveKit server address:
- **If Chat is deployed from source code**, update the `config/chat-rpc-chat.yml` file to configure the LiveKit server address:

```yaml
liveKit:
url: "ws://127.0.0.1:7880" # LIVEKIT_URL, LiveKit server address and port
url: "ws://127.0.0.1:7880" # ws://your-server-ip:7880 or wss://your-domain/path
```
- **If Chat is deployed via Docker**, add the following environment variable to the `docker-compose.yaml` file:

```yaml
CHATENV_CHAT_RPC_CHAT_LIVEKIT_URL="ws://your-server-ip:7880" # or wss://your-domain/path
```


By following these steps, you can set up and configure the LiveKit server for use with OpenIM Chat.

## More about Deploying LiveKi
Expand Down

0 comments on commit cd94ffc

Please sign in to comment.