46 lines
1.9 KiB
Bash
46 lines
1.9 KiB
Bash
APP_VERSION=v1.2508.1
|
|
|
|
# This is an example environment file.
|
|
# Copy this file to .env and fill in the actual values.
|
|
|
|
# This is an example environment file.
|
|
# Copy this file to .env and fill in the actual values.
|
|
|
|
# --- LLM Gateway API Keys ---
|
|
# The ADMIN_API_KEY is required for administrative functions of the application.
|
|
ADMIN_API_KEY=ac690ed057d41c9b6b6125c5ad5e45efb24e3e5e7aa2f5c2189638ee9ff03f81
|
|
USER_API_TEST_KEY=sk-e03e060ea4ee8edf2e057fbff3e68c28
|
|
|
|
# The following keys are for making requests to external LLM services.
|
|
# They are not used directly by the gateway's core logic but should be set for full functionality.
|
|
GEMINI_API_KEY=AIzaSyD37Fp00b_i2DIywwtQu39w0RhkGAJO4YM
|
|
ANTHROPIC_API_KEY=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
|
|
OPENAI_API_KEY=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
|
|
|
|
|
|
# --- LLM Gateway Redis ---
|
|
# These should match the service name and container port in docker-compose.yml
|
|
REDIS_HOST=llm_gateway_test_redis # 127.0.0.1 llm_gateway_redis
|
|
REDIS_PORT=6379 # 6382(uvicorn) 6379
|
|
REDIS_DB=2
|
|
|
|
|
|
# --- MinIO Storage ---
|
|
# Connection details for your MinIO instance.
|
|
MINIO_ENDPOINT=172.16.10.175:9000
|
|
MINIO_ACCESS_KEY=kyy
|
|
MINIO_SECRET_KEY=hLAk3aQfH8HTs7ELTcyR
|
|
MINIO_BUCKET_NAME=ocr-gateway
|
|
MINIO_RESULTS_BUCKET_NAME=ocr-gateway-results
|
|
|
|
# --- OCR Service (Optional) ---
|
|
# Uncomment and set if you are using the OCR service.
|
|
OCR_API_URL=http://ocr_gateway_test:8880/ocr # http://localhost:8890/ocr
|
|
OCR_REDIS_HOST=ocr_gateway_test_redis # localhost
|
|
OCR_REDIS_PORT=6379 # 6381(uvicorn) 6379
|
|
OCR_REDIS_DB=0
|
|
|
|
|
|
# --- Ollama Services (Optional) ---
|
|
# Comma-separated list of Ollama API endpoints.
|
|
OLLAMA_URLS="http://localhost:11534/api/generate,http://localhost:11634/api/generate,http://localhost:11734/api/generate" |