-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
79 lines (64 loc) · 2.78 KB
/
.env.example
File metadata and controls
79 lines (64 loc) · 2.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
# Environment Configuration
# Set SOAR_ENV to control which NATS streams/subjects and other resources to use
# - production: Uses production NATS streams (APRS_RAW), production database
# - staging: Uses staging NATS streams (STAGING_APRS_RAW), staging database
# - (unset/other): Uses dev NATS streams (STAGING_APRS_RAW), dev database
SOAR_ENV=production
# APRS Connection
OGN_APRS_SERVER=aprs.glidernet.org
OGN_APRS_PORT=14580
# Database Configuration
# Production: postgresql://localhost/soar
# Staging: postgresql://localhost/soar_staging
# Development: postgresql://localhost/soar_dev
DATABASE_URL=postgresql://localhost/soar
# Test Database Configuration
# Used by unit tests that require database access
TEST_DATABASE_URL=postgresql://localhost/soar_test
# Google Maps API
GOOGLE_MAPS_API_KEY=
# Photon Geocoding Service Base URL
# CURRENTLY DISABLED: Photon is not used for geocoding (see src/geocoding/photon.rs for details)
# Keeping configuration for potential future use
# Production/Staging: https://photon.glider.flights
# Development: http://localhost:2322
# PHOTON_BASE_URL=https://photon.glider.flights
# Pelias Geocoding Service Base URL
# Used for city-level reverse geocoding with Who's on First data
# Optional - only configure if you have a Pelias instance deployed
# See docs/pelias-deployment.md for setup instructions
# Production/Staging: http://pelias.internal.example.com:4000
# Development: http://localhost:4000
# PELIAS_BASE_URL=http://localhost:4000
# OpenAIP API Key
# Get your API key from: https://www.openaip.net/users/clients (requires free account)
# Used by the `pull-airspaces` command to fetch airspace boundaries
# Data is licensed under CC BY-NC 4.0 (non-commercial use only)
OPENAIP_API_KEY=
# JWT Authentication
JWT_SECRET=your_jwt_secret_key_here
# SMTP Email Configuration
SMTP_SERVER=your.smtp.server.com
SMTP_PORT=587
SMTP_USERNAME=your_smtp_username
SMTP_PASSWORD=your_smtp_password
FROM_EMAIL=noreply@yourdomain.com
FROM_NAME="SOAR System"
# Application URLs
BASE_URL=http://localhost:3000
# NATS
NATS_URL=nats://localhost:4222
# Sitemap Generation
SITEMAP_ROOT=/var/lib/soar/sitemap
# Optional: Path to save flight tracker state for persistence across restarts
# Default: $XDG_STATE_HOME/soar/flight-tracker-state-{production|dev}.json or ~/.local/state/soar/flight-tracker-state-{production|dev}.json
# FLIGHT_STATE_PATH=/var/lib/soar/flight-tracker-state.json
# Optional: Path to store elevation data tiles (Copernicus DEM)
# Default: $XDG_CACHE_HOME/elevation or ~/.cache/elevation
# Tiles are stored in subdirectories by resolution (e.g., /glo30/, /glo90/)
# ELEVATION_DATA_PATH=/var/lib/soar/elevation
# Stripe Connect Payment Processing
STRIPE_SECRET_KEY=sk_test_xxxx
STRIPE_WEBHOOK_SECRET=whsec_xxxx
# Platform fee in basis points (250 = 2.5%)
STRIPE_PLATFORM_FEE_BPS=250