Spaces:
Running
Running
| # ============================================ | |
| # 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 | |