-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
187 lines (129 loc) · 4.82 KB
/
env.example
File metadata and controls
187 lines (129 loc) · 4.82 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
# ============================================
# iURi Pescadores - Environment Configuration
# ============================================
# -------------------- Backend Configuration --------------------
# API Base URL
API_BASE_URL=http://localhost:8000
# CORS Origins (comma-separated)
CORS_ORIGINS=http://localhost:5173,http://localhost:3000
# Database
DATABASE_URL=sqlite:///./data/iuri.db
# -------------------- External APIs --------------------
# OpenWeather API (Weather Widget)
OPENWEATHER_API_KEY=your_openweather_api_key_here
# Global Fishing Watch API
GFW_API_KEY=your_gfw_api_key_here
# AIS Stream API (Real-time vessel tracking)
AIS_STREAM_API_KEY=your_ais_stream_api_key_here
# MarineTraffic API (Optional)
MARINETRAFFIC_API_KEY=your_marinetraffic_api_key_here
# NOAA API (Ocean data)
NOAA_API_KEY=your_noaa_api_key_here
# -------------------- AI/ML Services --------------------
# OpenAI API
OPENAI_API_KEY=your_openai_api_key_here
# Anthropic Claude API
ANTHROPIC_API_KEY=your_anthropic_api_key_here
# Ollama (Local AI)
OLLAMA_BASE_URL=http://localhost:11434
OLLAMA_ROUTER_ENABLED=false
OLLAMA_ROUTER_MODEL=llama3.2:3b-instruct-q4_K_S
OLLAMA_ROUTER_TIMEOUT_MS=2000
OLLAMA_ROUTER_CONF_LOW=0.45
OLLAMA_ROUTER_CONF_HIGH=0.70
OLLAMA_ROUTER_CACHE_TTL=600
OLLAMA_ROUTER_UNKNOWN_TTL=60
# -------------------- TTS/STT Services --------------------
# ElevenLabs API (Voice Cloning & TTS)
ELEVENLABS_API_KEY=your_elevenlabs_api_key_here
# TTS Provider (gtts, elevenlabs, browser)
TTS_PROVIDER=gtts
# STT Provider (whisper_local, whisper_api, google)
STT_PROVIDER=whisper_local
# -------------------- LangGraph Orquestación --------------------
# Redis para LangGraph (fase 0)
LANGGRAPH_REDIS_URL=redis://127.0.0.1:6379
# Feature flags (0/1)
FEATURE_LANGGRAPH_CHAT=0
FEATURE_LANGGRAPH_STT=0
FEATURE_LANGGRAPH_SWARM=0
# Lista blanca de pilotos (emails separados por ;)
PILOT_ALLOWED_USERS=cristian@iuri
# Fallback a lógica legacy si LangGraph falla (1=activado)
FALLBACK_ENABLED=1
# Timeout por nodo (ms)
GRAPH_NODE_TIMEOUT_MS=8000
# -------------------- Security --------------------
# JWT Secret Key (CHANGE IN PRODUCTION!)
JWT_SECRET_KEY=your-super-secret-jwt-key-change-in-production
# JWT Algorithm
JWT_ALGORITHM=HS256
# JWT Expiration (in minutes)
JWT_EXPIRATION_MINUTES=10080
# -------------------- Application Settings --------------------
# Environment (development, staging, production)
ENVIRONMENT=development
# Debug Mode (true/false)
DEBUG=true
# Context Router (experts routing layer)
# true by default in non-production; can be disabled explicitly.
CONTEXT_ROUTER_ENABLED=true
# Log Level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
LOG_LEVEL=INFO
# Max Upload Size (MB)
MAX_UPLOAD_MB=25
# -------------------- Frontend Configuration --------------------
# Vite API URL
VITE_API_URL=http://localhost:8000/api/v1
# Feature Flags (0/1)
# OpenSeaMap Seamarks overlay en el mapa (/map)
# VITE_OPENSEAMAP_SEAMARKS=1
# Vite STT URL
VITE_STT_URL=http://localhost:8000/api/v1/stt
# Vite TTS URL
VITE_TTS_URL=http://localhost:8000/api/v1/tts/speak
# Vite TTS Clone URL
VITE_TTS_CLONE_URL=http://localhost:8000/api/v1/tts/clone
# Vite TTS Voices URL
VITE_TTS_VOICES_URL=http://localhost:8000/api/v1/tts/voices
# Vite Chat URL
VITE_CHAT_URL=http://localhost:8000/api/v1/chat
# Vite Core URL (Swarm)
VITE_CORE_URL=http://localhost:8080
# -------------------- Production URLs (SSL) --------------------
# Production API URL (set in production)
# API_BASE_URL=https://api.iuripescadores.com
# Production Frontend URL (set in production)
# FRONTEND_URL=https://iuripescadores.com
# -------------------- Database (Production) --------------------
# PostgreSQL (recommended for production)
# DATABASE_URL=postgresql://user:password@localhost:5432/iuri
# -------------------- Email/Notifications (Optional) --------------------
# SMTP Configuration
# SMTP_HOST=smtp.gmail.com
# SMTP_PORT=587
# SMTP_USER=your_email@gmail.com
# SMTP_PASSWORD=your_app_password
# SMTP_FROM=noreply@iuripescadores.com
# -------------------- Analytics (Optional) --------------------
# Google Analytics
# GA_TRACKING_ID=UA-XXXXXXXXX-X
# Sentry (Error Tracking)
# SENTRY_DSN=your_sentry_dsn_here
# -------------------- Redis (Optional - for caching) --------------------
# REDIS_URL=redis://localhost:6379/0
# -------------------- Backup --------------------
# S3 Backup Configuration (Optional)
# S3_BUCKET=iuri-backups
# S3_ACCESS_KEY=your_s3_access_key
# S3_SECRET_KEY=your_s3_secret_key
# S3_REGION=us-east-1
# ============================================
# Notes:
# - Copy this file to .env and fill in your values
# - Replace all "your_*_here" values with real API keys
# - NEVER commit the real .env file to git
# - For production, use strong random secrets
# - Enable HTTPS in production
# - Use PostgreSQL instead of SQLite in production
# ============================================