Update .env

remove whitespaces and add new optional login area
This commit is contained in:
LRVT 2023-03-07 01:21:18 +01:00 committed by GitHub
parent 0aa752cab6
commit 9dcd05961f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,68 +3,72 @@
# ------- # -------
# Enable self-signed certs (app/ssl) # Enable self-signed certs (app/ssl)
HTTPS=false HTTPS=false
# Domain # Domain
HOST=localhost
HOST=localhost
# enable the following to protect mirotalk with an additional login screen
# Signaling Server listen port HOST_PROTECTED=false
HOST_USERNAME=username
PORT=3000 HOST_PASSWORD=password
# Ngrok # Signaling Server listen port
# 1. Goto https://ngrok.com
# 2. Get started for free PORT=3000
# 3. Copy YourNgrokAuthToken: https://dashboard.ngrok.com/get-started/your-authtoken
# Ngrok
NGROK_ENABLED=false # or true # 1. Goto https://ngrok.com
NGROK_AUTH_TOKEN=YourNgrokAuthToken # 2. Get started for free
# 3. Copy YourNgrokAuthToken: https://dashboard.ngrok.com/get-started/your-authtoken
# Stun
# Check: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/ NGROK_ENABLED=false # or true
NGROK_AUTH_TOKEN=YourNgrokAuthToken
STUN=stun:stun.l.google.com:19302
# Stun
# Turn # Check: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
# Recommended: https://github.com/coturn/coturn
# Check: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/ STUN=stun:stun.l.google.com:19302
TURN_ENABLED=false # or true # Turn
TURN_URLS=turn:YourTurnServer # Recommended: https://github.com/coturn/coturn
TURN_USERNAME=YourTurnUsername # Check: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
TURN_PASSWORD=YourTurnPassword
TURN_ENABLED=false # or true
# API TURN_URLS=turn:YourTurnServer
# The response will give you a entrypoint / Room URL for your meeting. TURN_USERNAME=YourTurnUsername
# curl -X POST "http://localhost:3000/api/v1/meeting" -H "authorization: mirotalk_default_secret" -H "Content-Type: application/json" TURN_PASSWORD=YourTurnPassword
API_KEY_SECRET=8jBEI8KVKj2cadd3Fy3ayu6Fwacg8+NjCiMjmINac # pls change # API
# The response will give you a entrypoint / Room URL for your meeting.
# Survey URL # curl -X POST "http://localhost:3000/api/v1/meeting" -H "authorization: mirotalk_default_secret" -H "Content-Type: application/json"
# Using to redirect the client after close the call (feedbacks, website...)
API_KEY_SECRET=8jBEI8KVKj2cadd3Fy3ayu6Fwacg8+NjCiMjmINac # pls change
SURVEY_ENABLED=false # or true
SURVEY_URL=https://www.questionpro.com/t/AUs7VZq00L # Survey URL
# Using to redirect the client after close the call (feedbacks, website...)
# Sentry (optional)
# 1. Goto https://sentry.io/ SURVEY_ENABLED=false # or true
# 2. Create account SURVEY_URL=https://www.questionpro.com/t/AUs7VZq00L
# 3. Goto Settings/Projects/YourProjectName/Client Keys (DSN)
# Sentry (optional)
SENTRY_ENABLED=false # or true # 1. Goto https://sentry.io/
SENTRY_DSN=YourClientKeyDSN # 2. Create account
SENTRY_TRACES_SAMPLE_RATE=1.0 # 3. Goto Settings/Projects/YourProjectName/Client Keys (DSN)
# Slack Integration (optional) SENTRY_ENABLED=false # or true
# 1. Goto https://api.slack.com/apps/ SENTRY_DSN=YourClientKeyDSN
# 2. Create your app SENTRY_TRACES_SAMPLE_RATE=1.0
# 3. On Settings - Basic Information - App Credentials chose your Signing Secret
# 4. Create a Slash Commands and put as Request URL: https://your.domain.name/slack # Slack Integration (optional)
# 1. Goto https://api.slack.com/apps/
SLACK_ENABLED=false # or true # 2. Create your app
SLACK_SIGNING_SECRET=YourSlackSigningSecret # 3. On Settings - Basic Information - App Credentials chose your Signing Secret
# 4. Create a Slash Commands and put as Request URL: https://your.domain.name/slack
# Auto deploy on Railway
# https://railway.app/new/template/mirotalk?referralCode=mirotalk SLACK_ENABLED=false # or true
SLACK_SIGNING_SECRET=YourSlackSigningSecret
# Auto deploy on Railway
# https://railway.app/new/template/mirotalk?referralCode=mirotalk