File size: 2,295 Bytes
6eba330
 
 
 
d69447e
6eba330
 
 
 
 
3f6819d
 
 
 
 
7ed6008
d69447e
3f6819d
 
 
 
 
 
 
 
6eba330
 
 
 
 
 
 
d69447e
 
6eba330
 
d69447e
6eba330
 
 
 
 
 
 
d69447e
6eba330
 
 
d69447e
 
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
# ============================================================================
# FleetMind MCP Server - Environment Configuration
# For HuggingFace Space (Track 1) deployment
# ============================================================================

# ============================================================================
# Google Maps API (REQUIRED)
# ============================================================================
# Used for geocoding addresses and calculating routes
# Get your API key at: https://console.cloud.google.com/google/maps-apis
# Enable these APIs in your Google Cloud Console:
#   - Geocoding API (required for address lookup)
#   - Routes API (recommended - new, more accurate)
#   - Directions API (legacy fallback)
# The system will try Routes API first, then fall back to Directions API
GOOGLE_MAPS_API_KEY=your_google_maps_api_key_here

# ============================================================================
# OpenWeatherMap API (OPTIONAL - for intelligent routing)
# ============================================================================
# Used for weather-aware routing decisions
# Get free API key at: https://openweathermap.org/api
# Free tier: 1,000 calls/day, 60 calls/minute
OPENWEATHERMAP_API_KEY=your_openweathermap_api_key_here

# ============================================================================
# PostgreSQL Database Configuration (REQUIRED)
# ============================================================================
# For local development, use localhost
# For HuggingFace Space, use Neon or other cloud PostgreSQL
# Get free PostgreSQL at: https://neon.tech
DB_HOST=your-postgres-host.neon.tech
DB_PORT=5432
DB_NAME=fleetmind
DB_USER=your_db_user
DB_PASSWORD=your_db_password

# ============================================================================
# Server Configuration (OPTIONAL)
# ============================================================================
# HuggingFace Space will set these automatically
# Only needed for local SSE mode testing
PORT=7860
HOST=0.0.0.0

# ============================================================================
# Logging (OPTIONAL)
# ============================================================================
LOG_LEVEL=INFO
LOG_FILE=logs/fleetmind.log