-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy path.env.example
More file actions
67 lines (57 loc) · 2.87 KB
/
Copy path.env.example
File metadata and controls
67 lines (57 loc) · 2.87 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
# Supabase Configuration
PUBLIC_SUPABASE_URL=your_supabase_project_url_here
PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key_here
SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key_here
SUPABASE_DB_PASSWORD=your_supabase_db_password_here
SUPABASE_ACCESS_TOKEN=your_account_access_token
PROJECT_REF=your-supabase-project-ref
SUPABASE_JWT_DISCOVERY_URL=https://your-project-ref.supabase.co/auth/v1/.well-known/jwks.json
GOTRUE_OTP_EXPIRY=300
GOTRUE_DISABLE_SIGNUP=false
# Supabase Management API (for configuring hosted project via scripts/supabase-email.sh)
SUPABASE_ACCESS_TOKEN=your_supabase_access_token_here
PROJECT_REF=your_supabase_project_ref_here
# Application Configuration
PUBLIC_APP_URL=http://localhost:8080
# Public origin used to build OAuth redirect URIs (falls back to PUBLIC_APP_URL / request origin)
NEXT_PUBLIC_APP_URL=http://localhost:8080
# Anonymous invites: Ed25519 issuer SEED (standard base64, raw 32-byte) for the
# `qryptchat-web` issuer. Lets users mint /anon?invite=… links. Must match the
# ed25519_public_key on the `qryptchat-web` row in invite_issuers. Generate with:
# node -e "const{generateKeyPairSync}=require('crypto');const{publicKey,privateKey}=generateKeyPairSync('ed25519');console.log('seed',privateKey.export({type:'pkcs8',format:'der'}).subarray(-32).toString('base64'));console.log('pub',publicKey.export({type:'spki',format:'der'}).subarray(-32).toString('base64'))"
QRYPT_WEB_ISSUER_SEED=your_ed25519_issuer_seed_here
# CoinPay OAuth2/OIDC ("Log in with CoinPay") — client is registered separately
COINPAY_OAUTH_ISSUER=https://coinpayportal.com
COINPAY_OAUTH_CLIENT_ID=your_coinpay_oauth_client_id_here
COINPAY_OAUTH_CLIENT_SECRET=your_coinpay_oauth_client_secret_here
PUBLIC_APP_NAME=QryptChat
PUBLIC_APP_VERSION=1.0.0
PUBLIC_ONION_URL=http://your-onion-address.onion/
# AI Configuration (OpenAI)
OPENAI_API_KEY=your_openai_api_key_here
# Email Configuration (optional for development)
SMTP_HOST=smtp.mailgun.org
SMTP_PORT=587
SMTP_USER=admin@mg.qrypt.chat.com
SMTP_PASS=your_mailgun_password_here
# Mailgun Configuration (for SMS webhook email alerts)
MAILGUN_API_KEY=your-api-key
MAILGUN_DOMAIN=mg.example.com
FROM_EMAIL=hello@example.com
OTP_TO_EMAIL=otp@example.com
# SMS (Twilio) - Used by scripts/supabase-twilio.sh
# Prefer these names; our utility also supports the alternative names below
TWILIO_SID=your_twilio_sid_here
TWILIO_SECRET=your_twilio_secret_here
# Alternative names (also supported):
TWILIO_ACCOUNT_SID=your_twilio_account_sid_here
TWILIO_AUTH_TOKEN=your_twilio_auth_token_here
# E.164 formatted sender number (e.g., +15555551234)
TWILIO_PHONE_NUMBER=+1XXXXXXXXXX
TWILIO_MESSAGE_SERVICE_SID=your_twilio_message_service_sid_here
# Development Configuration
NODE_ENV=development
VITE_LOG_LEVEL=info
# Security Configuration (generate secure random values)
ENCRYPTION_KEY=your_32_byte_encryption_key_here
TELNYX_PUBLIC_KEY=your_telnyx_public_key_here