* Remove feature flag condition * Remove feature flag condition * mode=r missed in read * Missed out changes in merge * Missed out changes in merge * Remove unwanted env * Changes to rename platform service env var for costing * Precommit failure fix * Fix unit tests * Fix unit tests * Fix docker test cases * Change mime read length to use default * Support remote storage for OSS users (#1136) * OSS support with remote storage * Add data sync * Remove unwanted dependencies
41 lines
976 B
Bash
41 lines
976 B
Bash
# Flask
|
|
FLASK_APP=src/unstract/platform_service/run.py
|
|
FLASK_RUN_PORT=3001
|
|
|
|
# Redis
|
|
REDIS_HOST=unstract-redis
|
|
REDIS_PORT=6379
|
|
REDIS_USERNAME=default
|
|
REDIS_PASSWORD=
|
|
|
|
# Backend DB
|
|
PG_BE_HOST=unstract-db
|
|
PG_BE_PORT=5432
|
|
PG_BE_USERNAME=unstract_dev
|
|
PG_BE_PASSWORD=unstract_pass
|
|
PG_BE_DATABASE=unstract_db
|
|
DB_SCHEMA="unstract"
|
|
|
|
|
|
# Encryption Key
|
|
# key must be 32 url-safe base64-encoded bytes.
|
|
ENCRYPTION_KEY="Sample-Key"
|
|
|
|
# Feature Flags
|
|
EVALUATION_SERVER_IP=unstract-flipt
|
|
EVALUATION_SERVER_PORT=9000
|
|
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
|
|
# Flipt Service
|
|
FLIPT_SERVICE_AVAILABLE=False
|
|
|
|
# Cost calculation related ENVs
|
|
MODEL_PRICES_URL="https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json"
|
|
MODEL_PRICES_TTL_IN_DAYS=7
|
|
MODEL_PRICES_FILE_PATH="<bucket-name>/cost/model_prices.json"
|
|
|
|
#Remote storage config
|
|
FILE_STORAGE_CREDENTIALS='{"provider":"local"}'
|
|
REMOTE_MODEL_PRICES_FILE_PATH="unstract/cost/model_prices.json"
|
|
|
|
LOG_LEVEL=INFO
|