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

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