-
-
Notifications
You must be signed in to change notification settings - Fork 279
Expand file tree
/
Copy path.env.example
More file actions
82 lines (64 loc) · 2.89 KB
/
Copy path.env.example
File metadata and controls
82 lines (64 loc) · 2.89 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
VITE_GMAPS_API_KEY=enter_google_maps_api_key_here
# Cloudflare R2 Storage Configuration
# Get these from: https://dash.cloudflare.com/ > R2 > Manage R2 API Tokens
R2_ACCESS_KEY_ID=your_r2_access_key_id
R2_SECRET_ACCESS_KEY=your_r2_secret_access_key
R2_BUCKET=your_r2_bucket_name
R2_ACCOUNT_ID=your_cloudflare_account_id
# Firebase Configuration
FIREBASE_API_KEY=AIzaSyXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
FIREBASE_PROJECT_ID=your-project-id
# Multi-Tenant Domain Configuration
# Comma-separated list of platform domains where subdomains route to tenants
# Example: tenant-a.propertywebbuilder.com routes to the tenant-a website
PLATFORM_DOMAINS=propertywebbuilder.com
# Server IP address for custom domain A record configuration (apex domains)
# Set this to your production server's public IP address
# PLATFORM_IP=123.45.67.89
# Allow custom domains without DNS verification (development only!)
# ALLOW_UNVERIFIED_DOMAINS=false
# ===========================================
# Error Tracking & Monitoring (Sentry)
# ===========================================
# Get your DSN from: https://sentry.io/settings/projects/[project]/keys/
# SENTRY_DSN=https://xxx@xxx.ingest.sentry.io/xxx
# Override environment name (defaults to Rails.env)
# SENTRY_ENVIRONMENT=production
# Transaction sampling rate (0.0 to 1.0) - lower in production to reduce costs
# SENTRY_TRACES_SAMPLE_RATE=0.1
# Profile sampling rate for performance monitoring
# SENTRY_PROFILES_SAMPLE_RATE=0.1
# Send PII (user emails, IPs) - disable for strict privacy compliance
# SENTRY_SEND_PII=false
# ===========================================
# Structured Logging
# ===========================================
# Enable lograge for structured JSON logs (auto-enabled in production)
# LOGRAGE_ENABLED=true
# Application version (used in logs and Sentry releases)
# APP_VERSION=1.0.0
# Git commit SHA (populated by CI/CD usually)
# GIT_COMMIT=abc123
# ===========================================
# Push Notifications (ntfy.sh)
# ===========================================
# ntfy.sh server URL (default: https://ntfy.sh)
# NTFY_SERVER_URL=https://ntfy.sh
# ===========================================
# Health Check Security
# ===========================================
# Token for accessing /health/details endpoint (Bearer auth)
# Generate with: rails secret | head -c 32
# HEALTH_CHECK_TOKEN=your_secure_token_here
# Comma-separated list of IPs allowed to access /health/details
# Default: 127.0.0.1,::1 (localhost only)
# HEALTH_CHECK_ALLOWED_IPS=127.0.0.1,::1,10.0.0.0/8
# ===========================================
# Astro Rendering Pipeline
# ===========================================
# URL of the Astro client application
# ASTRO_CLIENT_URL=http://localhost:4321
# Secret for JWT signing (for authentication between Rails and Astro)
# Must match PROXY_AUTH_SECRET in the Astro client .env
# Defaults to Rails.application.secret_key_base if not set
# PROXY_AUTH_SECRET=changeme