Update .env

update env
This commit is contained in:
LRVT 2023-05-04 17:13:57 +02:00 committed by GitHub
parent 94c19f2d78
commit 9478e8c4e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,16 +1,11 @@
# Production env file; works natively
# No need for adjustments
# -------
# Enable self-signed certs (app/ssl) # Enable self-signed certs (app/ssl)
HTTPS=false HTTPS=false # true or false
# Domain # Domain
HOST=localhost
# enable the following to protect mirotalk with an additional login screen HOST=localhost
HOST_PROTECTED=false HOST_PROTECTED=false # true or false
HOST_USERNAME=username HOST_USERNAME=username
HOST_PASSWORD=password HOST_PASSWORD=password
@ -23,28 +18,27 @@ PORT=3000
# 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 # true or false
NGROK_AUTH_TOKEN=YourNgrokAuthToken NGROK_AUTH_TOKEN=YourNgrokAuthToken
# Stun # Stun
# About: https://bloggeek.me/webrtcglossary/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_SERVER_ENABLED=true # true or false
STUN_SERVER_URL=stun:stun.l.google.com:19302
# Turn # Turn
# About: https://bloggeek.me/webrtcglossary/turn/
# Recommended: https://github.com/coturn/coturn # Recommended: https://github.com/coturn/coturn
# Installation: https://github.com/miroslavpejic85/mirotalk/blob/master/docs/coturn.md
# Free one: https://www.metered.ca/tools/openrelay/ (Please, create your own account)
# 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_SERVER_ENABLED=true # true or false
TURN_URLS=turn:YourTurnServer TURN_SERVER_URL=turn:a.relay.metered.ca:443
TURN_USERNAME=YourTurnUsername TURN_SERVER_USERNAME=e8dd65b92c62d3e36cafb807
TURN_PASSWORD=YourTurnPassword TURN_SERVER_CREDENTIAL=uWdWNmkhvyqTEswO
# 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=8jBEI8KVKj2cadd3Fy3ayu6Fwacg8+NjCiMjmINac # pls change
# IP lookup # IP lookup
# Using GeoJS to get more info about peer by IP # Using GeoJS to get more info about peer by IP
@ -52,10 +46,16 @@ API_KEY_SECRET=8jBEI8KVKj2cadd3Fy3ayu6Fwacg8+NjCiMjmINac # pls change
IP_LOOKUP_ENABLED=false # true or false IP_LOOKUP_ENABLED=false # true or false
# 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
# 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=true # true or false
SURVEY_URL=https://www.questionpro.com/t/AUs7VZq00L SURVEY_URL=https://www.questionpro.com/t/AUs7VZq00L
# Sentry (optional) # Sentry (optional)
@ -63,7 +63,7 @@ SURVEY_URL=https://www.questionpro.com/t/AUs7VZq00L
# 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 # true or false
SENTRY_DSN=YourClientKeyDSN SENTRY_DSN=YourClientKeyDSN
SENTRY_TRACES_SAMPLE_RATE=1.0 SENTRY_TRACES_SAMPLE_RATE=1.0
@ -73,12 +73,9 @@ SENTRY_TRACES_SAMPLE_RATE=1.0
# 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 # true or false
SLACK_SIGNING_SECRET=YourSlackSigningSecret SLACK_SIGNING_SECRET=YourSlackSigningSecret
# Auto deploy on Railway
# https://railway.app/new/template/mirotalk?referralCode=mirotalk
# ChatGPT/OpenAI # ChatGPT/OpenAI
# 1. Goto https://platform.openai.com/ # 1. Goto https://platform.openai.com/
# 2. Create your account # 2. Create your account