-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
87 lines (73 loc) · 3.45 KB
/
.env.example
File metadata and controls
87 lines (73 loc) · 3.45 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# =============================================================================
# Thrive Stream Controller - Environment Configuration
# =============================================================================
#
# SETUP INSTRUCTIONS:
# 1. Copy this file to `.env` in the same directory
# 2. Fill in your actual values below
# 3. NEVER commit the `.env` file to source control
#
# To use: docker-compose up -d
# =============================================================================
# -----------------------------------------------------------------------------
# OBS WebSocket Configuration
# -----------------------------------------------------------------------------
# The container connects to OBS running on your host machine.
# Default OBS WebSocket port is 4455.
# OBS WebSocket URL (use host.docker.internal to reach host from container)
OBS__WebSocketUrl=ws://host.docker.internal:4455
# OBS WebSocket password (leave empty if OBS has no password set)
# Find this in OBS: Tools → WebSocket Server Settings
OBS__Password=
# -----------------------------------------------------------------------------
# YouTube OAuth Configuration
# -----------------------------------------------------------------------------
# Get these from Google Cloud Console:
# https://console.cloud.google.com/apis/credentials
#
# 1. Create a project (or select existing)
# 2. Enable "YouTube Data API v3"
# 3. Create OAuth 2.0 credentials (Web application type)
# 4. Add authorized redirect URI: http://localhost:8080/api/auth/youtube/callback
# YouTube OAuth Client ID (ends with .apps.googleusercontent.com)
YouTube__ClientId=
# YouTube OAuth Client Secret
YouTube__ClientSecret=
# OAuth Redirect URI (update port if you change the app port)
YouTube__RedirectUri=http://localhost:8080/api/auth/youtube/callback
# -----------------------------------------------------------------------------
# Facebook Live Producer URL
# -----------------------------------------------------------------------------
# This is the URL volunteers will be directed to for the manual "Go Live" step.
#
# To find your Page's Live Producer URL:
# 1. Go to your Facebook Page
# 2. Click "Live Video" or go to facebook.com/live/producer
# 3. Select your Page
# 4. Copy the URL from your browser
#
# Example: https://www.facebook.com/live/producer?ref=OBS
Facebook__LiveProducerUrl=https://www.facebook.com/live/producer
# -----------------------------------------------------------------------------
# Application Settings
# -----------------------------------------------------------------------------
# Environment (Production, Development)
ASPNETCORE_ENVIRONMENT=Production
# Database connection string (SQLite - stored in mounted volume)
ConnectionStrings__DefaultConnection=Data Source=/app/data/thrivestream.db
# =============================================================================
# NOTES:
# =============================================================================
#
# Double underscores (__) represent nested configuration in .NET.
# For example: YouTube__ClientId maps to { "YouTube": { "ClientId": "..." } }
#
# After first run, you'll need to authorize YouTube in the app:
# 1. Open http://localhost:8080 in your browser
# 2. Go to Settings
# 3. Click "Connect YouTube Account"
# 4. Complete the OAuth flow
#
# The refresh token is stored encrypted in the database, so you only need
# to authorize once (unless you revoke access).
# =============================================================================