-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy path.env.docker.example
More file actions
134 lines (117 loc) · 5.18 KB
/
.env.docker.example
File metadata and controls
134 lines (117 loc) · 5.18 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
# EmuReady Docker Development Environment Variables
# Copy this file to .env.docker and fill in your actual values
# ===========================================
# DATABASE CONFIGURATION
# ===========================================
# These are set automatically by docker-compose, but can be overridden
DATABASE_URL="postgresql://emuready:emuready_dev_password@postgres:5432/emuready_dev"
DATABASE_DIRECT_URL="postgresql://emuready:emuready_dev_password@postgres:5432/emuready_dev"
# ===========================================
# CLERK AUTHENTICATION
# ===========================================
# Get these from your Clerk Dashboard at https://dashboard.clerk.com
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY="pk_test_your_clerk_publishable_key_here"
CLERK_SECRET_KEY="sk_test_your_clerk_secret_key_here"
CLERK_WEBHOOK_SECRET="whsec_your_webhook_secret_here"
# ===========================================
# EXTERNAL API KEYS
# ===========================================
# RAWG Video Games Database API
# Get your key from https://rawg.io/apidocs
RAWG_API_KEY="your_rawg_api_key_here"
# TheGamesDB API
# Get your key from https://thegamesdb.net/
THE_GAMES_DB_API_KEY="your_tgdb_api_key_here"
# ===========================================
# CLOUDFLARED TUNNEL (Required for Clerk webhooks)
# ===========================================
# Get this token from your Cloudflare tunnel configuration
# This is needed for testing Clerk authentication webhooks
TUNNEL_TOKEN="your_cloudflare_tunnel_token_here"
# ===========================================
# CLOUDFLARE TURNSTILE (Optional)
# ===========================================
# Human verification
NEXT_PUBLIC_TURNSTILE_SITE_KEY=1x00000000000000000000AA
TURNSTILE_SECRET_KEY=1x0000000000000000000000000000000AA
# ===========================================
# EMAIL SERVICES (Optional)
# ===========================================
# Email service configuration
EMAIL_ENABLED="false" # Set to "true" to enable email notifications
EMAIL_PROVIDER="sendgrid" # or "mailersend"
EMAIL_API_KEY="your_email_api_key_here"
EMAIL_FROM_ADDRESS="noreply@yourdomain.com"
EMAIL_FROM_NAME="EmuReady Team"
# ===========================================
# ANALYTICS (Optional)
# ===========================================
# Google Analytics
NEXT_PUBLIC_GA_ID="your_google_analytics_id_here"
# ===========================================
# APPLICATION CONFIGURATION
# ===========================================
# Public app configuration
# local | test | preview | staging | production
NEXT_PUBLIC_APP_ENV=local
NEXT_PUBLIC_LOCAL_STORAGE_PREFIX="@DockerEmuReady_"
NEXT_PUBLIC_EMUREADY_BETA_URL="https://play.google.com/store/apps/details?id=com.producdevity.emureadyapp"
NEXT_PUBLIC_ENABLE_ANALYTICS=false
NEXT_PUBLIC_ENABLE_KOFI_WIDGET=false
NEXT_PUBLIC_ENABLE_SENTRY=false
NEXT_PUBLIC_DISCORD_LINK="https://discord.gg/CYhCzApXav"
NEXT_PUBLIC_PATREON_LINK="https://www.patreon.com/Producdevity"
NEXT_PUBLIC_KOFI_LINK="https://ko-fi.com/producdevity"
NEXT_PUBLIC_EMUREADY_EMAIL="info@emuready.com"
NEXT_PUBLIC_GITHUB_URL="https://github.com/Producdevity/EmuReady"
NEXT_PUBLIC_EMUREADY_LITE_GITHUB_URL="https://github.com/Producdevity/EmuReadyLite/releases"
NEXT_PUBLIC_APP_URL="https://dev.emuready.com"
NEXT_PUBLIC_ENABLE_SW=false
NEXT_PUBLIC_ENABLE_ASYNC_LISTINGS_FILTERS=false
NEXT_PUBLIC_ENABLE_V2_LISTINGS=false
NEXT_TELEMETRY_DISABLED=1
NEXT_IMAGE_UNOPTIMIZED=false
# Android Downloads (feature flag + public endpoints)
NEXT_PUBLIC_ENABLE_ANDROID_DOWNLOADS=true
NEXT_PUBLIC_ANDROID_LATEST_JSON_URL="https://cdn.emuready.com/xxx/xxx/xxx.json"
NEXT_PUBLIC_ANDROID_LATEST_APK_URL="https://cdn.emuready.com/xxx/xxx/xxx-latest.apk"
# ===========================================
# DEVELOPMENT CONFIGURATION
# ===========================================
# Node environment
NODE_ENV="development"
# Enable Prisma debug logging (optional)
PRISMA_DEBUG="false"
# ===========================================
# CORS CONFIGURATION (Optional)
# ===========================================
# These origins are ALWAYS allowed by default:
# - https://emuready.com, https://www.emuready.com
# - https://dev.emuready.com, https://staging.emuready.com
# - https://eden-emu.dev (partner site that shows our listings)
# - capacitor://localhost, ionic://localhost (mobile apps)
#
# Use this to ADD ADDITIONAL origins that can call your API:
# NEXT_PUBLIC_ALLOWED_ORIGINS="https://custom-domain.com,https://another-site.com"
#
# Example for local development with ngrok or cloudflared:
# NEXT_PUBLIC_ALLOWED_ORIGINS="https://your-tunnel.trycloudflare.com"
# Internal API + App URL (used by release script and admin upload)
APP_URL="http://localhost:3000"
INTERNAL_API_KEY="dev-internal-api-key"
# Cloudflare R2 (Android releases)
R2_ACCOUNT_ID=""
R2_ACCESS_KEY_ID=""
R2_SECRET_ACCESS_KEY=""
R2_BUCKET="emuready-app-downloads"
R2_PUBLIC_BASE_URL="https://cdn.emuready.com"
# Google Play Orders (purchase claim)
ANDROID_PACKAGE_NAME="com.producdevity.emureadyapp"
GOOGLE_SA_CLIENT_EMAIL=""
GOOGLE_SA_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n"
# Patreon OAuth (lifetime on first paid month)
PATREON_CREATOR_TOKEN=""
PATREON_CAMPAIGN_ID=""
PATREON_CLIENT_ID=""
PATREON_CLIENT_SECRET=""
PATREON_REDIRECT_URI="http://localhost:3000/auth/patreon/callback"