Rthur2003 commited on
Commit
78fe752
·
1 Parent(s): 078babb

chore: update environment variables template with Supabase and LemonSqueezy configuration

Browse files
Files changed (1) hide show
  1. .env.example +15 -49
.env.example CHANGED
@@ -1,49 +1,15 @@
1
- # CrownCode Backend Environment Variables
2
- # Copy this file to .env and fill in your values
3
-
4
- # =============================================
5
- # CORS Configuration
6
- # =============================================
7
- CROWNCODE_CORS_ORIGINS=http://localhost:3000,https://your-domain.com
8
-
9
- # =============================================
10
- # Logging
11
- # =============================================
12
- LOG_LEVEL=INFO
13
-
14
- # =============================================
15
- # Spotify API (for AI Music Detection)
16
- # =============================================
17
- SPOTIFY_CLIENT_ID=your-spotify-client-id
18
- SPOTIFY_CLIENT_SECRET=your-spotify-client-secret
19
-
20
- # =============================================
21
- # YouTube OAuth (for AI Music Detection page)
22
- # =============================================
23
- YOUTUBE_OAUTH_CLIENT_ID=your-youtube-oauth-client-id
24
- YOUTUBE_OAUTH_CLIENT_SECRET=your-youtube-oauth-client-secret
25
- YOUTUBE_OAUTH_REDIRECT_URI=https://your-domain.com/ai-music-detection
26
-
27
- # Optional: authenticate yt-dlp when YouTube blocks guest downloads
28
- # Use one of the methods below.
29
- # YOUTUBE_COOKIES_FROM_BROWSER=edge
30
- # YOUTUBE_COOKIES_FILE=/absolute/path/to/cookies.txt
31
- # YOUTUBE_COOKIES_BASE64=base64-encoded-cookies-txt
32
-
33
- # =============================================
34
- # Crown Commend (YouTube AI Comment Generator)
35
- # =============================================
36
- # Gemini API Key - Get from https://ai.google.dev/
37
- COMMEND_GEMINI_API_KEY=your-gemini-api-key
38
-
39
- # YouTube OAuth Token JSON - Required for posting comments
40
- # This is a JSON string containing YouTube OAuth credentials
41
- # Generate using generate_youtube_token.py
42
- COMMEND_TOKEN_JSON={"token": "your-oauth-token", "refresh_token": "your-refresh-token", "token_uri": "https://oauth2.googleapis.com/token", "client_id": "your-client-id", "client_secret": "your-client-secret", "scopes": ["https://www.googleapis.com/auth/youtube.force-ssl"]}
43
-
44
- # =============================================
45
- # HuggingFace Spaces Specific
46
- # =============================================
47
- # These are automatically set by HuggingFace Spaces
48
- # HF_HOME=/app/.cache
49
- # TRANSFORMERS_CACHE=/app/.cache
 
1
+ # =========================================================================
2
+ # CROWNCODE BACKEND - ENVIRONMENT VARIABLES (.env.example)
3
+ # =========================================================================
4
+ # Copy to .env for local development or add to Hugging Face Space Secrets.
5
+ # If DATABASE_URL is unset or contains a YOUR_* placeholder, the service
6
+ # automatically falls back to SQLite (/data/flmcp.db or ./data/flmcp.db).
7
+ # =========================================================================
8
+
9
+ SUPABASE_URL=https://ijtmlchjfbxgmypewvfg.supabase.co
10
+ SUPABASE_JWKS_URL=https://ijtmlchjfbxgmypewvfg.supabase.co/auth/v1/.well-known/jwks.json
11
+ DATABASE_URL=postgresql://postgres.ijtmlchjfbxgmypewvfg:YOUR_DB_PASSWORD@aws-0-eu-central-1.pooler.supabase.com:6543/postgres
12
+ FLMCP_WEBHOOK_SECRET_LEMONSQUEEZY=YOUR_LEMONSQUEEZY_WEBHOOK_SECRET
13
+ FLMCP_LS_VARIANTS={"111111":"pro","222222":"studio","333333":"pack100"}
14
+ FLMCP_TOPUP_URL=https://hasan-arthur-altuntas.xyz/fl-mcp#pricing
15
+ CROWNCODE_CORS_ORIGINS=http://localhost:3000,https://hasan-arthur-altuntas.xyz,https://www.hasan-arthur-altuntas.xyz