Compose-Examples/examples/mirotalk/.env

89 lines
2.6 KiB
Bash
Raw Normal View History

2023-05-04 15:13:57 +00:00
# Enable self-signed certs (app/ssl)
2023-02-20 19:27:43 +00:00
2023-05-04 15:13:57 +00:00
HTTPS=false # true or false
2023-05-04 15:13:57 +00:00
# Domain
HOST=localhost
2023-05-04 15:13:57 +00:00
HOST_PROTECTED=false # true or false
HOST_USERNAME=username
HOST_PASSWORD=password
2023-05-04 15:13:57 +00:00
# Signaling Server listen port
PORT=3000
2023-05-04 15:13:57 +00:00
# Ngrok
# 1. Goto https://ngrok.com
# 2. Get started for free
2023-05-04 15:13:57 +00:00
# 3. Copy YourNgrokAuthToken: https://dashboard.ngrok.com/get-started/your-authtoken
2023-05-04 15:13:57 +00:00
NGROK_ENABLED=false # true or false
NGROK_AUTH_TOKEN=YourNgrokAuthToken
2023-05-04 15:13:57 +00:00
# Stun
# About: https://bloggeek.me/webrtcglossary/stun/
# Check: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
2023-05-04 15:13:57 +00:00
STUN_SERVER_ENABLED=true # true or false
STUN_SERVER_URL=stun:stun.l.google.com:19302
# Turn
2023-05-04 15:13:57 +00:00
# About: https://bloggeek.me/webrtcglossary/turn/
# 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/
2023-05-04 15:13:57 +00:00
TURN_SERVER_ENABLED=true # true or false
TURN_SERVER_URL=turn:a.relay.metered.ca:443
TURN_SERVER_USERNAME=e8dd65b92c62d3e36cafb807
TURN_SERVER_CREDENTIAL=uWdWNmkhvyqTEswO
2023-04-18 20:22:21 +00:00
# IP lookup
# Using GeoJS to get more info about peer by IP
# Doc: https://www.geojs.io/docs/v1/endpoints/geo/
IP_LOOKUP_ENABLED=false # true or false
2023-05-04 15:13:57 +00:00
# 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
2023-05-04 15:13:57 +00:00
# Using to redirect the client after close the call (feedbacks, website...)
2023-05-04 15:13:57 +00:00
SURVEY_ENABLED=true # true or false
SURVEY_URL=https://www.questionpro.com/t/AUs7VZq00L
2023-05-04 15:13:57 +00:00
# Sentry (optional)
# 1. Goto https://sentry.io/
# 2. Create account
# 3. Goto Settings/Projects/YourProjectName/Client Keys (DSN)
2023-05-04 15:13:57 +00:00
SENTRY_ENABLED=false # true or false
SENTRY_DSN=YourClientKeyDSN
SENTRY_TRACES_SAMPLE_RATE=1.0
2023-05-04 15:13:57 +00:00
# Slack Integration (optional)
# 1. Goto https://api.slack.com/apps/
# 2. Create your app
# 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
2023-05-04 15:13:57 +00:00
SLACK_ENABLED=false # true or false
SLACK_SIGNING_SECRET=YourSlackSigningSecret
2023-04-18 20:22:21 +00:00
# ChatGPT/OpenAI
# 1. Goto https://platform.openai.com/
# 2. Create your account
# 3. Generate your APIKey https://platform.openai.com/account/api-keys
CHATGPT_ENABLED=false
CHATGTP_APIKEY=YourOpenAiApiKey
CHATGPT_MODEL=text-davinci-003
CHATGPT_MAX_TOKENS=1000
CHATGPT_TEMPERATURE=0