32 lines
937 B
Plaintext
32 lines
937 B
Plaintext
# Application Settings
|
|
PROJECT_NAME="Image Management API"
|
|
API_V1_STR="/api/v1"
|
|
LOG_LEVEL=INFO
|
|
|
|
# CORS Settings
|
|
CORS_ORIGINS=*
|
|
|
|
# Database Settings
|
|
# Firestore settings
|
|
FIRESTORE_PROJECT_ID=gen-lang-client-0424120530
|
|
FIRESTORE_DATABASE_NAME=imagedb
|
|
FIRESTORE_CREDENTIALS_FILE=firestore-credentials.json
|
|
|
|
# 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 |