ShrishtiAI-backend / server /.env.example
MEWTROS
My 6 can be your 9
5ccd893
# ============================================
# GEO VISION Backend β€” Environment Variables
# ============================================
# Copy this file to .env and fill in your values
# ── Google Earth Engine ──
GEE_PROJECT_ID=your-gcp-project-id
GEE_SERVICE_ACCOUNT_KEY=/path/to/your-service-account-key.json
# ── Google Gemini AI ──
GEMINI_API_KEY=your-gemini-api-key
# ── Flask ──
FLASK_ENV=production
FLASK_DEBUG=False
FLASK_HOST=0.0.0.0
FLASK_PORT=5000
# ── Application ──
APP_NAME=Geo Vision Backend
APP_VERSION=1.0.0
APP_USER=GeoVision
# ── CORS (comma-separated origins) ──
ALLOWED_ORIGINS=https://your-frontend-domain.vercel.app
# ── Logging ──
LOG_LEVEL=INFO
LOG_FILE=geovision.log
# ── GCS Bucket (public COG raster data) ──
GCS_BUCKET_BASE_URL=https://storage.googleapis.com/satellite-cog-data-for-shrishti
GCS_BUCKET=satellite-cog-data-for-shrishti
GCS_TEMP_PREFIX=temp
# ── Raster Data (COG files from GCS bucket) ──
RASTER_SOIL_PATH=https://storage.googleapis.com/satellite-cog-data-for-shrishti/soil_type.tif
RASTER_ELEVATION_PATH=https://storage.googleapis.com/satellite-cog-data-for-shrishti/elevation.tif
RASTER_POPULATION_PATH=https://storage.googleapis.com/satellite-cog-data-for-shrishti/population_density.tif
RASTER_LANDCOVER_PATH=https://storage.googleapis.com/satellite-cog-data-for-shrishti/land_cover.tif
RASTER_NDVI_PATH=https://storage.googleapis.com/satellite-cog-data-for-shrishti/ndvi.tif
RASTER_PRECIP_PATH=https://storage.googleapis.com/satellite-cog-data-for-shrishti/annual_precip.tif
RASTER_TEMP_PATH=https://storage.googleapis.com/satellite-cog-data-for-shrishti/mean_annual_temp.tif
RASTER_WIND_PATH=https://storage.googleapis.com/satellite-cog-data-for-shrishti/wind_speed.tif
RASTER_IMPERVIOUS_PATH=https://storage.googleapis.com/satellite-cog-data-for-shrishti/impervious_surface.tif
# ── Supabase ──
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_SERVICE_ROLE_KEY=your-supabase-service-role-key
# ── Soil Database (optional, for HWSD2 lookup) ──
HWSD2_SMU_PATH=/path/to/HWSD2_SMU.xlsx
HWSD2_WRB4_PATH=/path/to/D_WRB4.xlsx