mirror of
https://dev.azure.com/tstanciu94/PhantomMind/_git/Bitip
synced 2025-10-13 01:52:19 +03:00
- feat: Implement GeoIP lookup service with frontend interface - feat: Add dotenv dependency and configure environment variables; update rate limiter response handling - refactor: Remove development Dockerfile and docker-compose for streamlined setup; update GeoIP service to use new MaxMind types - chore: update dependencies and ESLint configuration - feat: Add documentation for breaking changes and package updates after major version upgrades - feat: Add environment configuration files and update module imports for ES module support - feat: Update nodemon configuration and add register script for ES module support - feat: Add .gitattributes file to enforce LF line endings and define text/binary file types - feat: Implement graceful shutdown with timeout and update nodemon configuration - feat: Update environment configuration and add detailed configuration guide - feat: add frontend origin validation and update rate limits - feat: add versioning arguments and detailed OCI image labels to Dockerfile - feat: add version and release notes endpoints, update frontend to display release notes - feat: Refactor App component to use React Router for navigation - feat: Update navigation styles and remove unused type definitions for react-router-dom - feat: Generate runtime configuration for frontend and serve env.js - feat: Update dependencies, enhance ESLint configuration, and improve Vite setup - refactor: Remove ensureTrailingSlash function and simplify basePath assignment in Vite config
32 lines
775 B
Bash
32 lines
775 B
Bash
# Environment variables for Bitip GeoIP Service
|
|
# Local Development Configuration
|
|
|
|
# API Keys
|
|
FRONTEND_API_KEY=frontend-dev-key
|
|
EXTERNAL_API_KEYS=external-dev-key-1,external-dev-key-2
|
|
|
|
# Frontend Origin Validation
|
|
FRONTEND_ALLOWED_ORIGINS=http://localhost:5173,http://localhost:5174,http://localhost:5175
|
|
|
|
# Server Configuration
|
|
PORT=5172
|
|
BASE_PATH=/
|
|
NODE_ENV=development
|
|
|
|
# Database Path - Local MaxMind databases location
|
|
MAXMIND_DB_PATH=D:\\tools\\maxmind-dbs
|
|
|
|
# Rate Limiting Configuration
|
|
FRONTEND_RATE_WINDOW_MS=60000
|
|
FRONTEND_RATE_MAX=30
|
|
EXTERNAL_RATE_WINDOW_MS=60000
|
|
EXTERNAL_RATE_MAX=1000
|
|
|
|
# Batch Configuration
|
|
BATCH_LIMIT=100
|
|
DEBOUNCE_MS=2000
|
|
|
|
# Seq Logging (Optional - leave commented for local dev)
|
|
# SEQ_URL=http://localhost:5341
|
|
# SEQ_API_KEY=your-seq-api-key
|