-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
93 lines (78 loc) · 3.05 KB
/
.env.example
File metadata and controls
93 lines (78 loc) · 3.05 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
# ===========================================
# icemap.app Environment Variables
# ===========================================
# Copy this file to .env.local for development
# Set these in Railway dashboard for production
# -------------------------------------------
# Supabase Configuration (SERVER-SIDE ONLY)
# -------------------------------------------
# Get these from your Supabase project settings
# NEVER expose these to the client!
SUPABASE_URL=https://your-project-id.supabase.co
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key-here
# -------------------------------------------
# Push Notifications (VAPID Keys)
# -------------------------------------------
# Generate with: npx web-push generate-vapid-keys
NEXT_PUBLIC_VAPID_PUBLIC_KEY=your-vapid-public-key
VAPID_PRIVATE_KEY=your-vapid-private-key
# -------------------------------------------
# Application Configuration
# -------------------------------------------
NEXT_PUBLIC_APP_URL=http://localhost:3000
PORT=8080
# -------------------------------------------
# Map Configuration (Optional)
# -------------------------------------------
# If using Mapbox instead of OpenStreetMap
# NEXT_PUBLIC_MAPBOX_TOKEN=your-mapbox-access-token
# Default map center (lat,lng) - defaults to US center if not set
# NEXT_PUBLIC_DEFAULT_LAT=39.8283
# NEXT_PUBLIC_DEFAULT_LNG=-98.5795
# NEXT_PUBLIC_DEFAULT_ZOOM=4
# -------------------------------------------
# Rate Limiting Configuration
# -------------------------------------------
# Time in seconds between allowed posts (default: 3600 = 1 hour)
RATE_LIMIT_WINDOW_SECONDS=3600
# -------------------------------------------
# Media Processing Configuration
# -------------------------------------------
# Maximum file size in bytes (default: 500MB)
MAX_FILE_SIZE_BYTES=524288000
# Maximum number of media items per post
MAX_MEDIA_PER_POST=5
# Video quality settings for FFmpeg
VIDEO_BITRATE=1000k
VIDEO_MAX_WIDTH=1280
VIDEO_MAX_HEIGHT=720
# Image quality settings
IMAGE_QUALITY=80
IMAGE_MAX_WIDTH=1920
IMAGE_MAX_HEIGHT=1080
# -------------------------------------------
# Post Configuration
# -------------------------------------------
# Time in hours before posts are auto-deleted (default: 168 = 7 days)
POST_TTL_HOURS=168
# -------------------------------------------
# Admin Configuration
# -------------------------------------------
# Email address for report notifications
ADMIN_EMAIL=admin@icemap.app
# JWT secret for admin authentication (generate a random 32+ character string)
ADMIN_JWT_SECRET=your-secret-key-here-change-in-production
# SMTP settings for sending report emails
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USER=your-smtp-user
SMTP_PASSWORD=your-smtp-password
SMTP_FROM=noreply@icemap.app
# -------------------------------------------
# CoinPayPortal Configuration (Donations)
# -------------------------------------------
# Get these from https://coinpayportal.com dashboard
COINPAYPORTAL_MERCHANT_ID=your-merchant-uuid
COINPAYPORTAL_API_KEY=your-api-key
COINPAYPORTAL_WEBHOOK_SECRET=your-webhook-secret
COINPAYPORTAL_WEBHOOK_URL=https://icemap.app/api/webhooks/coinpay