-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.sample
More file actions
25 lines (19 loc) · 948 Bytes
/
.env.sample
File metadata and controls
25 lines (19 loc) · 948 Bytes
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
# Used by the backend to generate links in emails to the frontend
FRONTEND_HOST=http://localhost:5173
# In staging and production, set this env var to the frontend host, e.g.
# FRONTEND_HOST=https://dashboard.example.com
# Environment: local, staging, production
ENVIRONMENT=local
PROJECT_NAME='Rapid Evaluation Framework'
# Backend
BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,https://localhost:5173"
# Regex pattern for dynamic CORS origins (e.g. Netlify deploy previews)
# BACKEND_CORS_ORIGIN_REGEX="https://deploy-preview-\d+--climate-ref\.netlify\.app"
SECRET_KEY=changethis
# Error tracking
SENTRY_DSN=
# Location of the REF configuration that the backend will use
REF_CONFIGURATION=../climate-ref/.ref
# Proxy data requests to a remote API during local explorer development.
# Local backend still serves explorer/collection endpoints from YAML files.
# VITE_PROXY_DATA_URL=https://api.climate-ref.org