-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.template
53 lines (39 loc) · 1.52 KB
/
.env.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# 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=true
NGROK_AUTH_TOKEN=2M92MoclQQXvWd3zsc8h615DA0x_7PZEJAGyxqpsDGjktrNWD
# Stun
# Check: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
STUN=stun:stun.l.google.com:19302
# Turn
# 1. Goto http://numb.viagenie.ca/
# 2. Create an account
# 3. Check: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
TURN_ENABLED=true
TURN_URLS=turn:relay.metered.ca
TURN_USERNAME=2eff53f88724c157f8bf0b62
TURN_PASSWORD=0fCfm4jPfMBVVgiA
# API
# The response will give you a entrypoint / Room URL for your meeting.
curl -X POST "http://localhost:3000/api/v1/meeting" -H "authorization: videolify_default_secret" -H "Content-Type: application/json"
API_KEY_SECRET=videolify_default_secret
# Sentry (optional)
# 1. Goto https://sentry.io/
# 2. Create account
# 3. Goto Settings/Projects/YourProjectName/Client Keys (DSN)
SENTRY_ENABLED=true|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=true|false
SLACK_SIGNING_SECRET=YourSlackSigningSecret
# Auto deploy on Railway
# https://railway.app/new/template/videolify?referralCode=j25