Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
86 lines (66 loc) · 3.78 KB
/
Copy path.env.example
File metadata and controls
86 lines (66 loc) · 3.78 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
# =============================================================================
# Astro Rocket - Environment Configuration
# =============================================================================
# Copy this file to .env and fill in your values
# Variables prefixed with PUBLIC_ are exposed to the browser - NEVER prefix secrets
#
# Building in Docker: Compose reads this file and passes the values in as
# build arguments, so the file itself stays out of the build context.
# RESEND_API_KEY, RESEND_FROM_EMAIL, RESEND_AUDIENCE_ID and NEWSLETTER_API_KEY
# are read by the API routes, which a container does not carry.
# -----------------------------------------------------------------------------
# Required
# -----------------------------------------------------------------------------
# Your production site URL (used for sitemap, canonical URLs, OG images)
SITE_URL=https://example.com
# Deployment target — set to "netlify" when deploying to Netlify, leave unset for Vercel
# DEPLOY_TARGET=netlify
# -----------------------------------------------------------------------------
# Analytics (optional)
# -----------------------------------------------------------------------------
# Google Analytics 4 Measurement ID
# PUBLIC_GA_MEASUREMENT_ID=G-XXXXXXXXXX
# Google Tag Manager Container ID
# PUBLIC_GTM_ID=GTM-XXXXXXX
# Umami — privacy-friendly, cookieless analytics.
# Set your website ID (a UUID from the Umami dashboard) to enable it. Copy it
# from the tracking snippet Umami shows you, and set the website's Domain there
# to your bare hostname — Umami rejects events whose origin does not match it.
# PUBLIC_UMAMI_WEBSITE_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
# Optional. Defaults to the value below. Set it when the src in your snippet is
# anything else — self-hosted, or a different Umami Cloud instance.
# PUBLIC_UMAMI_SRC=https://cloud.umami.is/script.js
# -----------------------------------------------------------------------------
# Form Handling (optional)
# -----------------------------------------------------------------------------
# Resend API key for contact form emails and newsletter (server-side only)
# Get your key at https://resend.com
RESEND_API_KEY=your-resend-api-key
# Sender address for contact form emails — must be a verified Resend domain
# Defaults to the email set in site.config.ts if not provided
# RESEND_FROM_EMAIL=noreply@yourdomain.com
# Resend Audience ID for newsletter subscriptions (server-side only)
# Create an audience at resend.com/audiences and paste its ID here
# RESEND_AUDIENCE_ID=your-audience-id
# Newsletter API key (server-side only) — used by the /api/newsletter endpoint
# NEWSLETTER_API_KEY=your-newsletter-api-key
# -----------------------------------------------------------------------------
# Search Engine Verification (optional)
# -----------------------------------------------------------------------------
# Google Search Console verification code
# GOOGLE_SITE_VERIFICATION=your-verification-code
# Bing Webmaster Tools verification code
# BING_SITE_VERIFICATION=your-verification-code
# -----------------------------------------------------------------------------
# Maps (optional)
# -----------------------------------------------------------------------------
# Google Maps Embed API key, used by the GoogleMap component. Without it the
# component renders a setup prompt in place of the map.
# PUBLIC_GOOGLE_MAPS_API_KEY=your-maps-api-key
# -----------------------------------------------------------------------------
# Consent / Privacy (optional)
# -----------------------------------------------------------------------------
# Enable the cookie consent banner (requires analytics to be configured)
# PUBLIC_CONSENT_ENABLED=true
# Link to your privacy policy page (shown in consent banner when set)
# PUBLIC_PRIVACY_POLICY_URL=/privacy