Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 709 Bytes

README.md

File metadata and controls

34 lines (27 loc) · 709 Bytes

Nobody-Chat

This is just a Chat room

Build

docker compose up -d

open your broswer to localhost:3001, and could see the UI

Production

If you would like to deply to production, you might modify the compose.override.yaml environment fields first

This is modify the API server CORS allow origins:

services:
  vue:
    depends_on:
      - server
  server:
    environment:
      # - ALLOW_URLS=["your.UI.domain.com"]

This is modify the UI request API address:

# ./nobody-chat-vue/.env.production

VITE_API_ADDRESS="<your production api address>"
VITE_TURN_URL="turn server address"
VITE_TURN_USERNAME="turn server username"
VITE_TURN_CREDENTIAL="turn server credential"