-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
58 lines (48 loc) · 1.72 KB
/
.env.example
File metadata and controls
58 lines (48 loc) · 1.72 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
# ============================================
# OpenFarm Environment Variables
# Copy to .env and fill in values
# ============================================
# --- Postgres ---
POSTGRES_USER=openfarm
POSTGRES_PASSWORD=openfarm_dev
POSTGRES_DB=openfarm
DATABASE_URL=postgresql+asyncpg://openfarm:openfarm_dev@db:5432/openfarm
# Sync URL for Alembic migrations
DATABASE_URL_SYNC=postgresql://openfarm:openfarm_dev@db:5432/openfarm
# --- Redis ---
REDIS_URL=redis://redis:6379/0
# --- MinIO (Object Storage) ---
MINIO_ROOT_USER=openfarm
MINIO_ROOT_PASSWORD=openfarm_dev_secret
MINIO_ENDPOINT=minio:9000
MINIO_ACCESS_KEY=openfarm
MINIO_SECRET_KEY=openfarm_dev_secret
MINIO_BUCKET=openfarm
MINIO_CONSOLE_PORT=9001
MINIO_PUBLIC_ENDPOINT=localhost:9000
# --- NextAuth (apps/web) ---
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=change-me-to-a-random-32-char-string
GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret
# --- OpenFarm JWT ---
OPENFARM_JWT_SECRET=change-me-to-a-random-64-char-string
# --- Public URLs (browser-side) ---
NEXT_PUBLIC_API_URL=http://localhost:8000/v1
NEXT_PUBLIC_TITILER_URL=http://localhost:8080
NEXT_PUBLIC_MINIO_URL=http://localhost:9000/openfarm
NEXT_PUBLIC_PROTOMAPS_URL=http://localhost:9000/openfarm/basemap
TITILER_PUBLIC_URL=http://localhost:8080
# --- CORS ---
CORS_ORIGINS=http://localhost:3000
# --- STAC (Processor) ---
STAC_API_URL=https://earth-search.aws.element84.com/v1
# --- Soil Data ---
SOILGRIDS_WCS_BASE_URL=https://maps.isric.org/mapserv
POLARIS_S3_BUCKET=polaris-soil-data
SOIL_FETCH_TIMEOUT_SECONDS=60
SOIL_SOURCE_PRIORITY=auto
# --- Email (Resend) ---
RESEND_API_KEY=resend_api_key
RESEND_FROM_EMAIL=OpenFarm <noreply@openfarm.earth>
APP_URL=http://localhost:3000