-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
68 lines (57 loc) · 2.97 KB
/
Copy path.env.example
File metadata and controls
68 lines (57 loc) · 2.97 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# =============================================================================
# ZCC RTMS Zoom App - Environment Configuration
# =============================================================================
# Copy this file to .env and fill in your actual values
# =============================================================================
# -----------------------------------------------------------------------------
# Zoom App Credentials (Required - from Zoom Marketplace)
# -----------------------------------------------------------------------------
ZOOM_APP_CLIENT_ID=your_zoom_client_id
ZOOM_APP_CLIENT_SECRET=your_zoom_client_secret
ZOOM_SECRET_TOKEN=your_zoom_webhook_secret_token
# -----------------------------------------------------------------------------
# Zoom Configuration
# -----------------------------------------------------------------------------
# Default: https://zoom.us (use https://us06web.zoom.us for Zoom for Government)
ZOOM_HOST=https://zoom.us
# -----------------------------------------------------------------------------
# Server Ports
# -----------------------------------------------------------------------------
PORT=3000
BACKEND_PORT=3001
RTMS_PORT=8080
# -----------------------------------------------------------------------------
# Environment
# -----------------------------------------------------------------------------
NODE_ENV=development
# -----------------------------------------------------------------------------
# URLs Configuration
# -----------------------------------------------------------------------------
# Public URL (update with your ngrok HTTPS URL)
PUBLIC_URL=https://your-ngrok-subdomain.ngrok-free.app
# Frontend URL (set to the same ngrok URL for OAuth redirects)
FRONTEND_URL=https://your-ngrok-subdomain.ngrok-free.app
# Frontend Internal URL
# Docker: http://frontend:3000
# Local (npm run dev:local): http://localhost:3000
FRONTEND_INTERNAL_URL=http://localhost:3000
# RTMS server URL
# Docker: http://rtms:8080
# Local: http://localhost:8080
RTMS_SERVER_URL=http://localhost:8080
# Backend URL (used by RTMS server to send status updates back to backend)
# Docker: http://backend:3001
# Local: http://localhost:3001
BACKEND_URL=http://localhost:3001
# OAuth callback URL (must match Zoom Marketplace settings)
ZOOM_REDIRECT_URL=https://your-ngrok-subdomain.ngrok-free.app/api/auth/callback
# -----------------------------------------------------------------------------
# Frontend Configuration (React env vars must start with REACT_APP_)
# -----------------------------------------------------------------------------
REACT_APP_BACKEND_URL=http://localhost:3001
REACT_APP_ZOOM_CLIENT_ID=your_zoom_client_id
# -----------------------------------------------------------------------------
# Session Configuration
# -----------------------------------------------------------------------------
# Generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
SESSION_SECRET=your_random_session_secret_change_in_production