Skip to content

dvorakchen/nobody-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"