mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-25 04:51:13 +00:00
9478e8c4e9
update env
89 lines
2.6 KiB
Bash
89 lines
2.6 KiB
Bash
# Enable self-signed certs (app/ssl)
|
|
|
|
HTTPS=false # true or false
|
|
|
|
# Domain
|
|
|
|
HOST=localhost
|
|
HOST_PROTECTED=false # true or false
|
|
HOST_USERNAME=username
|
|
HOST_PASSWORD=password
|
|
|
|
# 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=false # true or false
|
|
NGROK_AUTH_TOKEN=YourNgrokAuthToken
|
|
|
|
# Stun
|
|
# About: https://bloggeek.me/webrtcglossary/stun/
|
|
# Check: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
|
|
|
|
STUN_SERVER_ENABLED=true # true or false
|
|
STUN_SERVER_URL=stun:stun.l.google.com:19302
|
|
|
|
# Turn
|
|
# 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/
|
|
|
|
TURN_SERVER_ENABLED=true # true or false
|
|
TURN_SERVER_URL=turn:a.relay.metered.ca:443
|
|
TURN_SERVER_USERNAME=e8dd65b92c62d3e36cafb807
|
|
TURN_SERVER_CREDENTIAL=uWdWNmkhvyqTEswO
|
|
|
|
# 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
|
|
|
|
# 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
|
|
# Using to redirect the client after close the call (feedbacks, website...)
|
|
|
|
SURVEY_ENABLED=true # true or false
|
|
SURVEY_URL=https://www.questionpro.com/t/AUs7VZq00L
|
|
|
|
# Sentry (optional)
|
|
# 1. Goto https://sentry.io/
|
|
# 2. Create account
|
|
# 3. Goto Settings/Projects/YourProjectName/Client Keys (DSN)
|
|
|
|
SENTRY_ENABLED=false # true or false
|
|
SENTRY_DSN=YourClientKeyDSN
|
|
SENTRY_TRACES_SAMPLE_RATE=1.0
|
|
|
|
# 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
|
|
|
|
SLACK_ENABLED=false # true or false
|
|
SLACK_SIGNING_SECRET=YourSlackSigningSecret
|
|
|
|
# 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
|