39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Signaling Server listen port
|
|
|
|
PORT=3000
|
|
|
|
# Ngrok
|
|
# 1. Goto https://ngrok.com
|
|
# 2. Get started for free
|
|
# 3. Copy YourNgrokAuthToken: https://dashboard.ngrok.com/get-started/your-authtoken
|
|
|
|
NGROK_ENABLED=true|false
|
|
NGROK_AUTH_TOKEN=YourNgrokAuthToken
|
|
|
|
# Turn
|
|
# 1. Goto http://numb.viagenie.ca/
|
|
# 2. Create an account
|
|
# 3. Check: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
|
|
|
|
TURN_ENABLED=true|false
|
|
TURN_URLS=turn:numb.viagenie.ca
|
|
TURN_USERNAME=YourNumbUsername
|
|
TURN_PASSWORD=YourNumbPassword
|
|
|
|
# API
|
|
# The response will give you a entrypoint / Room URL for your meeting.
|
|
# curl -X POST "http://localhost:3000/api/v1/meeting" -H "authorization: mirotalk_default_secret" -H "Content-Type: application/json"
|
|
|
|
API_KEY_SECRET=mirotalk_default_secret
|
|
|
|
# Sentry (optional)
|
|
# 1. Goto https://sentry.io/
|
|
# 2. Create account
|
|
# 3. Goto Settings/Projects/YourProjectName/Client Keys (DSN)
|
|
|
|
SENTRY_ENABLED=true|false
|
|
SENTRY_DSN=YourClientKeyDSN
|
|
SENTRY_TRACES_SAMPLE_RATE=1.0
|
|
|
|
# Auto deploy on Railway
|
|
# https://railway.app/new/template/mirotalk?referralCode=mirotalk |