-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
44 lines (39 loc) · 1.6 KB
/
.env.example
File metadata and controls
44 lines (39 loc) · 1.6 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
# ==========================================
# Database Configuration
# ==========================================
POSTGRES_PASSWORD=changeme-in-production
# ==========================================
# Backend Configuration
# ==========================================
HANKO_API_URL=https://dev.login.hotosm.org
COOKIE_SECRET=change-me-in-production-min-32-chars-long
# ==========================================
# OSM OAuth Configuration
# ==========================================
OSM_CLIENT_ID=your-osm-client-id
OSM_CLIENT_SECRET=your-osm-client-secret
OSM_REDIRECT_URI=https://dev.login.hotosm.org/api/auth/osm/callback
OSM_URL=https://www.openstreetmap.org
OSM_SCOPE=read_prefs
# ==========================================
# Internal service-to-service shared secret
# Used by consumer projects (fAIr, drone-tm, OAM) to resolve PATs
# Same value must be set on each consumer project
# ==========================================
LOGIN_INTERNAL_API_KEY=
# ==========================================
# SMTP Configuration (for email verification)
# ==========================================
# Options: Gmail, SendGrid, Resend, AWS SES, etc.
SMTP_HOST=smtp.resend.com
SMTP_PORT=587
SMTP_USER=resend
SMTP_PASSWORD=your-smtp-api-key
SMTP_FROM_ADDRESS=noreply@hotosm.org
# ==========================================
# Google OAuth Configuration
# ==========================================
# Create at: https://console.cloud.google.com/apis/credentials
# Redirect URI: https://dev.login.hotosm.org/thirdparty/callback
GOOGLE_CLIENT_ID=your-google-client-id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=your-google-client-secret