-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
138 lines (114 loc) · 4.64 KB
/
.env.example
File metadata and controls
138 lines (114 loc) · 4.64 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
# ===========================================
# PairUX Environment Configuration
# ===========================================
# Copy this file to .env and fill in your values
# NEVER commit .env to version control!
# ===========================================
# Supabase Configuration
# Get these from: https://supabase.com/dashboard/project/YOUR_PROJECT/settings/api
# ===========================================
# Public (safe for client-side in desktop app)
NEXT_PUBLIC_SUPABASE_URL=https://your-project-id.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key-here
# Server-side only (NEVER expose to client)
# Used by Next.js API routes and server components
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key-here
# Supabase Management API (for email template updates)
# Get access token from: https://supabase.com/dashboard/account/tokens
SUPABASE_PROJECT_REF=your-project-ref
SUPABASE_ACCESS_TOKEN=your-access-token-here
# Database password (for migrations/direct access if needed)
# Get from: https://supabase.com/dashboard/project/YOUR_PROJECT/settings/database
SUPABASE_DB_PASSWORD=your-db-password-here
# ===========================================
# TURN Server Configuration
# Required for WebRTC NAT traversal
# ===========================================
TURN_SERVER_URL=turn:turn.pairux.com:3478
TURN_SERVER_USERNAME=ubuntu
TURN_SERVER_CREDENTIAL=your-turn-secret-here
# TLS TURN (for restrictive firewalls)
TURNS_SERVER_URL=turns:turn.pairux.com:5349
# ===========================================
# LiveKit SFU Server Configuration
# Required for SFU mode session support
# Local dev: docker compose -f apps/livekit/docker-compose.yml up
# Production: deployed on DigitalOcean droplet at sfu.pairux.com
# Generate secret with: openssl rand -base64 32
# ===========================================
LIVEKIT_API_KEY=devkey
LIVEKIT_API_SECRET=secret
# Local dev: ws://localhost:7880
# Production: wss://sfu.pairux.com
NEXT_PUBLIC_LIVEKIT_URL=ws://localhost:7880
# ===========================================
# Application Configuration
# ===========================================
NEXT_PUBLIC_APP_URL=http://localhost:3000
NODE_ENV=development
# ===========================================
# Email (Resend)
# ===========================================
# RESEND_API_KEY=re_your-resend-api-key
# ===========================================
# Web Push Notifications (VAPID)
# Generate with: pnpm generate-vapid-keys
# ===========================================
NEXT_PUBLIC_VAPID_PUBLIC_KEY=your-vapid-public-key
VAPID_PRIVATE_KEY=your-vapid-private-key
# ===========================================
# Optional: Code Signing (for desktop releases)
# ===========================================
# macOS
# MACOS_CERTIFICATE=base64-encoded-p12
# MACOS_CERTIFICATE_PWD=certificate-password
# APPLE_ID=your-apple-id@example.com
# APPLE_APP_SPECIFIC_PASSWORD=xxxx-xxxx-xxxx-xxxx
# APPLE_TEAM_ID=XXXXXXXXXX
# Windows (Azure Key Vault)
# AZURE_KEY_VAULT_URI=https://your-vault.vault.azure.net
# AZURE_CLIENT_ID=your-client-id
# AZURE_CLIENT_SECRET=your-client-secret
# AZURE_CERT_NAME=your-cert-name
# AZURE_TENANT_ID=your-tenant-id
# Linux (GPG)
# GPG_PRIVATE_KEY=base64-encoded-key
# GPG_PASSPHRASE=your-passphrase
# GPG_KEY_ID=your-key-id
# ===========================================
# Package Manager Submissions
# Used by scripts/submit-packages.ts and GitHub Actions
# ===========================================
# Chocolatey (Windows)
# Get from: https://community.chocolatey.org/account
# CHOCOLATEY_API_KEY=your-chocolatey-api-key
# AUR (Arch Linux)
# Base64 encoded SSH private key with AUR access
# AUR_SSH_KEY=base64-encoded-ssh-private-key
# APT/RPM Repositories
# Base64 encoded GPG private key for package signing
# GPG_PRIVATE_KEY=base64-encoded-gpg-key
# GPG_PASSPHRASE=your-gpg-passphrase
# GitHub Token for package submissions
# Needs repo access for creating PRs/commits
# PKG_SUBMIT_TOKEN=ghp_your-github-token
# ===========================================
# Droplet Deployment (TURN Server)
# Used by GitHub Actions to deploy to DigitalOcean droplet
# ===========================================
# DROPLET_HOST=143.198.96.161
# DROPLET_PORT=22
# DROPLET_USER=root
# DROPLET_SSH_KEY=base64-encoded-private-key
# PAIRUX_API_URL=https://pairux.com
PAIRUX_API_URL=http://localhost:3000
# PAIRUX_API_URL=http://localhost:3000
# ===========================================
# Web Push Notifications (VAPID)
# Generate with: pnpm generate-vapid-keys
# ===========================================
NEXT_PUBLIC_VAPID_PUBLIC_KEY=your-vapid-public-key
VAPID_PRIVATE_KEY=your-vapid-private-key
APPLE_ID=your-developer-email
APPLE_TEAM_ID=your-apple-team-id
APPLE_APP_SPECIFIC_PASSWORD=your-app-specific-password