Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
36 lines (31 loc) · 1.84 KB
/
Copy path.env.example
File metadata and controls
36 lines (31 loc) · 1.84 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
# Site URL
NEXT_PUBLIC_SITE_URL=https://asociacionanae.org
# SMTP Configuration (Google Workspace / Gmail)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=465
SMTP_USER=your-email@example.com
SMTP_PASS=your-app-password
CONTACT_TO_EMAIL=recipient@example.com
PETITION_TO_EMAIL=petition-recipient@example.com
# Google Tag (gtag.js loader — the container that serves both GA4 and Ads)
NEXT_PUBLIC_GT_ID=GT-XXXXXXXXXXXX # Google Tag ID (starts with GT-)
# Google Analytics 4
NEXT_PUBLIC_GA_ID=G-XXXXXXXXXX # GA4 Measurement ID (starts with G-)
# Google Ads Conversion Tracking
NEXT_PUBLIC_GADS_ID=AW-XXXXXXXXXXX # Google Ads Conversion ID (starts with AW-)
# Google Sheets (Petition signatures)
# Full service account JSON key, minified to one line: cat key.json | jq -c .
GOOGLE_SERVICE_ACCOUNT_JSON={"type":"service_account","project_id":"...","private_key_id":"...","private_key":"-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----\n","client_email":"...@....iam.gserviceaccount.com","client_id":"...","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token"}
# Sheet ID from the Google Sheets URL: /spreadsheets/d/{SHEET_ID}/edit
GOOGLE_SHEET_ID=your-google-sheet-id-here
# Cloudflare R2 (Signature image storage)
# Account ID — found in Cloudflare dashboard → R2 → Overview
R2_ACCOUNT_ID=your-cloudflare-account-id
# API Token credentials — create in Cloudflare dashboard → R2 → Manage API tokens
R2_ACCESS_KEY_ID=your-r2-access-key-id
R2_SECRET_ACCESS_KEY=your-r2-secret-access-key
# R2 bucket name (create in Cloudflare R2 → Create bucket)
R2_BUCKET_NAME=anae-signatures
# Public URL base for the bucket (enable "Public access" on the bucket in Cloudflare dashboard)
# Format: https://pub-XXXX.r2.dev OR a custom domain like https://firmas.asociacionanae.org
R2_PUBLIC_URL=https://pub-XXXX.r2.dev