image_management_api/.env.example
2025-05-23 22:42:22 +02:00

34 lines
970 B
Plaintext

# Application Settings
PROJECT_NAME="Image Management API"
API_V1_STR="/api/v1"
LOG_LEVEL=INFO
# CORS Settings
CORS_ORIGINS=*
# Database Settings
# Choose database type: "mongodb" or "firestore"
DATABASE_TYPE=mongodb
# MongoDB Settings (used when DATABASE_TYPE=mongodb)
DATABASE_URI=mongodb://localhost:27017
DATABASE_NAME=imagedb
# Google Cloud Firestore Settings (used when DATABASE_TYPE=firestore)
# Path to service account credentials file (optional, uses application default credentials if not set)
GCS_CREDENTIALS_FILE=path/to/credentials.json
# Google Cloud Storage Settings
GCS_BUCKET_NAME=your-bucket-name
# Security Settings
API_KEY_SECRET=super-secret-key-for-development-only
API_KEY_EXPIRY_DAYS=365
# Vector Database Settings (for image embeddings)
VECTOR_DB_API_KEY=your-pinecone-api-key
VECTOR_DB_ENVIRONMENT=your-pinecone-environment
VECTOR_DB_INDEX_NAME=image-embeddings
# Rate Limiting
RATE_LIMIT_PER_MINUTE=100