## OCR Config ##
# Enable OCR, if OCR is not enabled then texts in image will not be searchable
OCR_ENABLE=false
# OCR Driver, 'google' | 'custom' | string, string is the driver module installed from npm
OCR_DRIVER=google
# OCR Enpoint
# for google, use 'eu-vision.googleapis.com' or 'us-vision.googleapis.com'
# for custom, use full base url of your endpoint, like 'https://www.example.com/api/v1/ocr'
OCR_ENDPOINT=eu-vision.googleapis.com
# OCR Credentials
# for google, this will be ignored, you should set GOOGLE_APPLICATION_CREDENTIALS below
# for custom, use the bearer token of your endpoint
OCR_CREDENTIALS=
## Queue Config ##
# Enable queue, if queue is not enabled then all task will be done in-process
QUEUE_ENABLE=false
# Redis related config
QUEUE_REDIS_HOST=${CACHE_REDIS_HOST}
QUEUE_REDIS_PORT=${CACHE_REDIS_PORT}
QUEUE_REDIS_PASSWORD=${CACHE_REDIS_PASSWORD}
QUEUE_REDIS_DB=${CACHE_REDIS_DB}
QUEUE_REDIS_KEY_PREFIX=${CACHE_REDIS_KEY_PREFIX}_queue
## Third Party Integrations ##
# Set to the path of the JSON file that contains your service account key if you are using google cloud services
GOOGLE_APPLICATION_CREDENTIALS=/path/to/credentials/of/google.json